Re: [OpenSIPS-Users] Not able to make Load Balancer work

2018-01-15 Thread Mayur Koshal
Hi Bogdan, Thanks for your time and looking into this. I am using the Load balancer script which is generated from the menuconfig as it is. The script was generated after I compiled and build opensips . Did not made much changes to it. Need to find out the reason why it is looping inside LB and

Re: [OpenSIPS-Users] Not able to make Load Balancer work

2018-01-15 Thread Bogdan-Andrei Iancu
Hi MAyur, Your trance does not show the INVITE being route outside the LB (.19). Even more there is a "Too many hops reply" back, suggesting that a loop is created on the LB and the INVITE is never sent to the destination (but keep re-routed back to LB). When you do t_relay() in your

Re: [OpenSIPS-Users] nortpproxy_str usage

2018-01-15 Thread William Simon
Thanks Bogdan-Andrei. If I don't intend to chain multiple RTPProxy, is there any reason to keep the nortpproxy_str attribute, or is it safe to disable it by setting it to empty string? From: Bogdan-Andrei Iancu Sent: Monday, January 15,

Re: [OpenSIPS-Users] SIP-I Calling Party number being changed

2018-01-15 Thread Vlad Patrascu
Hi, I'm not an expert on ITU-T standards but from what I know, the "+" sign is only an indication that an international prefix is required and thus cannot be set as a digit in the ISUP number related parameters. Being an unsupported character, the sip_i module wrote it as 0. Maybe a warning

Re: [OpenSIPS-Users] Need to set destination as a fixed IP for a domain .

2018-01-15 Thread Bogdan-Andrei Iancu
Hi Sasmita, Why not using DNS-based failover - use multiple A records with different weights. See: http://www.opensips.org/html/docs/modules/2.3.x/tm.html#idp5521600 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018

Re: [OpenSIPS-Users] trigger on acc table

2018-01-15 Thread Bogdan-Andrei Iancu
Hi Khalil, YEs, for SQL, OpenSIPS tries to group inserts into a single query. To control this, see: http://www.opensips.org/Documentation/Script-CoreParameters-2-3#toc84 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018

Re: [OpenSIPS-Users] nortpproxy_str usage

2018-01-15 Thread Bogdan-Andrei Iancu
Hi William, IF you end up chaining multiple RTPproxy'es, you need to be sure you avoid the "learning" deadlock between them - as rtpproxy is normally waiting to receive RTP in order to learn the end-points IP+port (as the IP coordinates from SDP are private, so not usable). So, if the IP in

Re: [OpenSIPS-Users] tm param for 477?

2018-01-15 Thread Bogdan-Andrei Iancu
Hi Tito, You do not have to add an additional t_relay(), just add the "0x02" flag to your existing t_relay() in script. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018 http://www.opensips.org/events/Summit-2018Amsterdam

Re: [OpenSIPS-Users] RTPProxy Timeout socket more than one SIP proxy

2018-01-15 Thread Răzvan Crainea
I don't think restarting RTPProxy is acceptable, because you will loose the ongoing RTP sessions. Best regards, Răzvan Crainea OpenSIPS Developer www.opensips-solutions.com On 01/15/2018 01:03 PM, Adrian Fretwell wrote: Razvan, Thankyou for clarifying this, I can work around it either with

Re: [OpenSIPS-Users] RTPProxy Timeout socket more than one SIP proxy

2018-01-15 Thread Adrian Fretwell
Razvan, Thankyou for clarifying this, I can work around it either with VIP or by restarting RTP Proxy with a different -n value. Kind regards, Adrian. On 15/01/18 09:02, Răzvan Crainea wrote: Hi, Adrian! Unfortunately RTPProxy can send timeout notifications only to one timeout_socket -

[OpenSIPS-Users] SIP-I Calling Party number being changed

2018-01-15 Thread Aqs Younas
Greetings list, I am using the sip-i module for conversion between sip to sip-i. I want to set calling party number and called party number in e164 format. Below is how my code looks like. route{ ... xlog("Here is Called party number: $rU"); xlog("Here is Calling party number:

[OpenSIPS-Users] Opensips mid registar module 2 interface configuration

2018-01-15 Thread Kirill Galinurov
Hi I try mid register module in Opensips 2.3 My very simple config is: mhomed=1 listen=udp:10.23.96.193:5060 # CUSTOMIZE ME listen=udp:192.168.100.200:5060 # CUSTOMIZE ME if (is_method("REGISTER")) { mid_registrar_save("location"); switch ($retcode) { case 1:

Re: [OpenSIPS-Users] RTPProxy Timeout socket more than one SIP proxy

2018-01-15 Thread Răzvan Crainea
Hi, Adrian! Unfortunately RTPProxy can send timeout notifications only to one timeout_socket - the one specified in the -n parameter. We did discuss with Maxim a while back the ability to support different timeout_sockets to different opensips instances, but that discussion didn't materialize

Re: [OpenSIPS-Users] new "disable_503_translation" parameter

2018-01-15 Thread abdullahjajja
By default opensip translate 503 into 500 below is parameter which you need to set disable_503_translation=yes default value of this parameter is no disable_503_translation If 'yes', OpenSIPS will not translate the received 503 replies into 500 replies (RFC 3261 clearly states that a proxy should

[OpenSIPS-Users] Need to set destination as a fixed IP for a domain .

2018-01-15 Thread Sasmita Panda
Hi All , My setup is like . There is 2 proxy and 2 registrar server . When request comes to proxy that resolve the domain in request URI which is the registrar domain and forward the request to that IP . There are 2 IP against the domain of the registrar server . There is 2 different