[OpenSIPS-Users] User_preferences vs db_alias for forwarding.

2016-09-30 Thread Jeff Wilkie
Using 1.10. Is there any issues using db_alias for forwarding as opposed to user_preferences? Thanks Jeff Wilkie USIP Communications ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] codec_delete

2016-09-30 Thread Julian Santer
Hi guys, we need to delete a rtpmap. We made an "upgrade" from 1.6 to 2.1. On the 1.6 codec_delete works fine. We are running the latest git checkout from the 2.1.4. My code looks like: if (codec_exists("G729")) { xlog("L_INFO", "Removing G.729");

Re: [OpenSIPS-Users] Routing in opensips

2016-09-30 Thread Eric Freeman
Hopefully this is the relevant information you need from the log. I am trying to call 111@199.48.152.152. The IP of the opensips server si 10.88.23.10 and has a public IP of 204.17.231.3. The IP address of the video conference server is 10.89.71.12. Sep 29 12:10:17 cd-ubuntu-opensips

Re: [OpenSIPS-Users] opensips crash when doing load test

2016-09-30 Thread Ramachandran, Agalya (Contractor)
Hi Bogdan, One more dump #0 final_response_handler (fr_tl=0x7fded2484110) at timer.c:383 383 if (is_invite(t) && should_cancel_branch(t, r_buf->branch) ) { Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 glibc-2.17-106.el7_2.4.x86_64

[OpenSIPS-Users] opensips crash when doing load test

2016-09-30 Thread Ramachandran, Agalya (Contractor)
Hi Bogdan, I have taken 2.1.4 code base, added the below fixes on top of it 1. Fix potential starvation for the timer tasks. 66c337cc89a2b5c3e1bbd78c289371efcda21886 2. rest_client: Improve polling logic during TCP connect - c40f2b057209b8078520abc95e5d1bf5e5a28db6 3.

Re: [OpenSIPS-Users] string modification

2016-09-30 Thread Denis
Please, Bogdan, can you give me some example? Thank you. mailto:denis7...@mail.ru YEs, sure it can. Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 30.09.2016 13:58, Denis wrote: Re: [OpenSIPS-Users] string modification Sorry, Bogdan But one more,

Re: [OpenSIPS-Users] string modification

2016-09-30 Thread Bogdan-Andrei Iancu
YEs, sure it can. Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 30.09.2016 13:58, Denis wrote: Re: [OpenSIPS-Users] string modification Sorry, Bogdan But one more, dialplan can do it? mailto:denis7...@mail.ru Yes, it is. Or you can do it

Re: [OpenSIPS-Users] Opensips 2.2.1 dr_rules is empty

2016-09-30 Thread Denis
Bogdan, log is here https://cloud.mail.ru/public/HRtb/zn9igdL7C mailto:denis7...@mail.ru yes Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 30.09.2016 12:29, Denis wrote: Re: [OpenSIPS-Users] Opensips 2.2.1 dr_rules is empty Bogdan, you need all log

Re: [OpenSIPS-Users] string modification

2016-09-30 Thread Denis
Sorry, Bogdan But one more, dialplan can do it? mailto:denis7...@mail.ru Yes, it is. Or you can do it shorter: $rU = $(rU{re.subst,"/-//g"}); Regards Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 30.09.2016 13:46, Denis wrote: Re:

Re: [OpenSIPS-Users] string modification

2016-09-30 Thread Denis
Thank you. mailto:denis7...@mail.ru Yes, it is. Or you can do it shorter: $rU = $(rU{re.subst,"/-//g"}); Regards Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 30.09.2016 13:46, Denis wrote: Re: [OpenSIPS-Users] string modification Thank you,

[OpenSIPS-Users] YUM and APT repositories downtime

2016-09-30 Thread Nick Altmann
Hello everyone! Sep 30-Oct 01, YUM (yum.opensips.org) and APT (apt.opensips.org) repositories will be down few times up to an hour because of infrastructure upgrade. Sorry for the inconvenience. -- Nick ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] string modification

2016-09-30 Thread Bogdan-Andrei Iancu
Yes, it is. Or you can do it shorter: $rU = $(rU{re.subst,"/-//g"}); Regards Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 30.09.2016 13:46, Denis wrote: Re: [OpenSIPS-Users] string modification Thank you, Bogdan Just in case, is this correctly?

Re: [OpenSIPS-Users] string modification

2016-09-30 Thread Denis
Thank you, Bogdan Just in case, is this correctly? $var(input) = $rU; $var(output)=$(var(input){re.subst,"/-//g"}); $rU=$var(output); mailto:denis7...@mail.ru Hi, The easiest way is by using a regexp substitution (see http://www.opensips.org/Documentation/Script-Tran-2-2#toc81) :

Re: [OpenSIPS-Users] string modification

2016-09-30 Thread Bogdan-Andrei Iancu
Hi, The easiest way is by using a regexp substitution (see http://www.opensips.org/Documentation/Script-Tran-2-2#toc81) : $var(input)="123-45-67"; $var(output) = $(var(input){re.subst,"/-//g"}); Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com

[OpenSIPS-Users] string modification

2016-09-30 Thread Denis
Hello! I am sorry that it was early, but my question is, how can i delete some character from some string if i do not know where this character will be inside the string? For example, input string 123-45-67, or 12-345-67, but output string should be 1234567. Thank you.

Re: [OpenSIPS-Users] Opensips 2.2.1 dr_rules is empty

2016-09-30 Thread Bogdan-Andrei Iancu
yes Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 30.09.2016 12:29, Denis wrote: Re: [OpenSIPS-Users] Opensips 2.2.1 dr_rules is empty Bogdan, you need all log between two dr_reload? mailto:denis7...@mail.ru Hi Denis. The log you posted

Re: [OpenSIPS-Users] Opensips 2.2.1 dr_rules is empty

2016-09-30 Thread Denis
Bogdan, you need all log between two dr_reload? mailto:denis7...@mail.ru Hi Denis. The log you posted covers only 16:21, so I cannot see the 16:29 reload. Please pot the whole log on a pastebin or dropbox. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] Opensips 2.2.1 dr_rules is empty

2016-09-30 Thread Bogdan-Andrei Iancu
Hi Denis. The log you posted covers only 16:21, so I cannot see the 16:29 reload. Please pot the whole log on a pastebin or dropbox. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 30.09.2016 11:57, Denis wrote: Re: [OpenSIPS-Users] Opensips

Re: [OpenSIPS-Users] Record-Route and Dialog topology_hiding()

2016-09-30 Thread Bogdan-Andrei Iancu
Hi Ben, Sorry, I missed your email :(. But you should not do match_dialog, but topology_hiding_match() http://www.opensips.org/html/docs/modules/2.2.x/topology_hiding.html#id293644 This is not require any loose_route() or so. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] Routing in opensips

2016-09-30 Thread Bogdan-Andrei Iancu
Hi Eric, As a first step, can you confirm that the INVITE (sent out by your OPenSIPS to the internet) has in VIA hdr the public IP of your NAT ? Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 29.09.2016 19:14, Eric Freeman wrote: It

Re: [OpenSIPS-Users] Opensips 2.2.1 dr_rules is empty

2016-09-30 Thread Bogdan-Andrei Iancu
Hi Denis, yes, but the errors on failed attempted connections are not related to drouting (they are linked to the acc module). In DR, even before attempting to perform any DB query, there is a log about receiving the MI "dr_reload" command - which is only one. Some how, I am not convinced