Re: [OpenSIPS-Users] install RTPEngine on Centos 8

2020-06-11 Thread Alex Balashov
You may consider building from source. It's actually quite easy and avoids this kind of pain. On 6/11/20 4:35 PM, Dragomir Haralambiev wrote: Hello, Thanks for your reply. I try to instal RTPEngine but receive follow errors: # dnf install ngcp-rtpengine Last metadata expiration check: 0:28:59

Re: [OpenSIPS-Users] install RTPEngine on Centos 8

2020-06-11 Thread Dragomir Haralambiev
Hello, Thanks for your reply. I try to instal RTPEngine but receive follow errors: # dnf install ngcp-rtpengine Last metadata expiration check: 0:28:59 ago on Thu 11 Jun 2020 10:33:39 PM EEST. Error: Problem: conflicting requests - nothing provides libavcodec.so.58()(64bit) needed by

Re: [OpenSIPS-Users] adding and reading a SIP header to a 302 Redirect

2020-06-11 Thread Diptesh Patel
Hello, The next destination(s) should be decided based on Contact Header(s) of 3xx Responses. You can configure one or more destinations based on priority and fail-over enabled to multiple destinations. But in your case I found, Contact Header is malformed i.e. *Contact: . * Thanks & Regards

Re: [OpenSIPS-Users] avp_insert

2020-06-11 Thread Richard Revels
Ah. I should have paid more attention. I meant to paste the link for the 2.4 Docs. However, your point is well taken. I need to spend more time getting more current rather than working in older versions. Richard On Thu, Jun 11, 2020 at 10:33 AM Bogdan-Andrei Iancu wrote: > Hey Richard, >

Re: [OpenSIPS-Users] Write acc_extra data to separate table

2020-06-11 Thread David Villasmil
You could use https://opensips.org/html/docs/modules/1.7.x/avpops.html#id293960 Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Jun 11, 2020 at 12:07 PM Mark Farmer wrote: > Hmm... Doesn't seem to exist in OpenSIPS. > > How do others do this kind of

Re: [OpenSIPS-Users] Write acc_extra data to separate table

2020-06-11 Thread Bogdan-Andrei Iancu
Hi Mark, If you want to have full control over the DB usage for the ACC data, I would suggest to use the event_route module to capture the ACC_CDR event (produced by the acc module) - this event will expose all the acc data (extra + legs). In the event route you use the avp_db_query()

Re: [OpenSIPS-Users] avp_insert

2020-06-11 Thread Bogdan-Andrei Iancu
Hey Richard, Agreed, but nothing we can do about 2.1 - it is old and unmaintained. Starting 3.0, the all the script functions accept parameters via variables. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 6/11/20 4:15 PM, Richard Revels

[OpenSIPS-Users] avp_insert

2020-06-11 Thread Richard Revels
I feel like this function would be a lot more useful if the last argument would accept a variable rather than a static int. https://opensips.org/html/docs/modules/2.1.x/avpops.html#idp5679392 Richard Revels ___ Users mailing list

[OpenSIPS-Users] [BLOG] New Call API tool has been released

2020-06-11 Thread Răzvan Crainea
Hi, everyone! We have just released the first version of the new Call API tool[1]. This tool can be used to manage calls through an API. You can find out more information about what it can do and how it works in the blog post I've just published[2]. So please give it a try, and make sure to

Re: [OpenSIPS-Users] Write acc_extra data to separate table

2020-06-11 Thread Mark Farmer
Hmm... Doesn't seem to exist in OpenSIPS. How do others do this kind of thing? On Thu, 11 Jun 2020 at 11:58, David Villasmil < david.villasmil.w...@gmail.com> wrote: > You’re going to need to use sqlops for that, I think. > > On Thu, 11 Jun 2020 at 11:39, Mark Farmer wrote: > >> Thanks for

Re: [OpenSIPS-Users] Write acc_extra data to separate table

2020-06-11 Thread David Villasmil
You’re going to need to use sqlops for that, I think. On Thu, 11 Jun 2020 at 11:39, Mark Farmer wrote: > Thanks for the reply Johan, I'm not sure that's quite what I'm looking for. > I'd like the usual acc data to be written to the normal acc table but my > extra data written to a different

Re: [OpenSIPS-Users] Write acc_extra data to separate table

2020-06-11 Thread Mark Farmer
Thanks for the reply Johan, I'm not sure that's quite what I'm looking for. I'd like the usual acc data to be written to the normal acc table but my extra data written to a different table, preferably in a different database. Many thanks Mark. On Thu, 11 Jun 2020 at 11:32, Johan De Clercq

Re: [OpenSIPS-Users] Write acc_extra data to separate table

2020-06-11 Thread Johan De Clercq
If I am not wrong, you can specify the accounting table and db in the module params. Hence make a copy of the table, insert in a new db, add your extra column and adapt the module parameters. wkr, Op do 11 jun. 2020 om 12:18 schreef Mark Farmer : > Hi everyone > > I have a couple of extra

[OpenSIPS-Users] Write acc_extra data to separate table

2020-06-11 Thread Mark Farmer
Hi everyone I have a couple of extra fields in my acc database table which is added by acc_extra. This causes issues when upgrading. I would prefer to have that data stored in a different database/table. Is there a nice way to do that? OpenSIPS 3.0 in this case. Many thanks Mark.