Re: [OpenSIPS-Users] OpenSIPS 2.2 Documentation needs update !

2016-06-13 Thread SamyGo
Nice, Another one: I've another one with wrong ref link.: proto_bin points to proto_hep in this list: http://opensips.org/Documentation/Modules-2-2 I had to manually edit the URL to view proto_bin page. Thanks, Sammy On Mon, Jun 13, 2016 at 5:27 PM, Bogdan-Andrei Iancu

Re: [OpenSIPS-Users] OpenSIPS 2.2 Documentation needs update !

2016-06-13 Thread Bogdan-Andrei Iancu
Hi Sammy, Thank you for the report, I just updated the doc in regards to the missing dependency : https://github.com/OpenSIPS/opensips/commit/4357fe858c948ded5db4b37fec5d26c7c379652a The online docs will get regenerated during the night. Thanks and regards, Bogdan-Andrei Iancu OpenSIPS

Re: [OpenSIPS-Users] Provisional response handling in case of forking

2016-06-13 Thread Bogdan-Andrei Iancu
Hi Agalya, For the first 180, the flag is notset (by default, the flags are off), so no drop will be doneand the execution will get to the setflag(), setting the flag. (only the drop is under the IF). Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

[OpenSIPS-Users] OpenSIPS 2.2 Documentation needs update !

2016-06-13 Thread SamyGo
Hi, It seems like mentioning of clusterer module as a dependency is missing form module docs: http://www.opensips.org/html/docs/modules/2.2.x/usrloc.html#id293640 Although it is obvious that the write refers to "valid cluster id" in function accept_replicated_contact()

Re: [OpenSIPS-Users] Provisional response handling in case of forking

2016-06-13 Thread Ramachandran, Agalya (Contractor)
Hi Bogdan, OK. Got it. One more to question to understand the snippet you gave.. I have just commented my understanding of each snippet at the same line. I don't get why we need setflag(FLAG_180); after we drop the response. if ($rs==180) { //We are checking response is equal to 180 if

Re: [OpenSIPS-Users] Provisional response handling in case of forking

2016-06-13 Thread Bogdan-Andrei Iancu
Hi Agalya, It is not a predefine flag. And you do not have to define the flags in OpenSIPS. Just pickup aname and start using it in script. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 13.06.2016 17:27, Ramachandran, Agalya (Contractor)

Re: [OpenSIPS-Users] Provisional response handling in case of forking

2016-06-13 Thread Ramachandran, Agalya (Contractor)
Hi Bogdan, Thank you for your kind response. I will try the logic you told me. But I have a question in the below logic. "FLAG_180", is this something declared and maintained by opensips and set by default on its own if Ringing response is received or we need to define this flag explicitly ?

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-13 Thread Jeff Wilkie
>From the CP gateway web GUI, >From DROUTING-Gateway interface: Error while disabling gateway 2 (the GWID is 2 for the gateway I'm attempting to disable) >From the MI Commands: Initiating the following command: *dr_gw_status 2 0* 404 GW ID not found But I am able to enable the gateway from

Re: [OpenSIPS-Users] Provisional response handling in case of forking

2016-06-13 Thread Bogdan-Andrei Iancu
Hi Agalya, Use the onreply route (be sure to onreply_avp_mode to be set to 1 - see http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294290) in combination with flags, to record when the an 180 reply was set. Like: if ($rs==180) { if (isflagset(FLAG_180)) drop();

Re: [OpenSIPS-Users] OpenSips as Load Balancer - Handling Failure Scenarios

2016-06-13 Thread Chandan PR
Hi Bogdan-Andrei Iancu, Sorry for the late reply. This was not the issue with OpenSips. It was an edge case and fr_inv_timer configuration value was less. Works perfectly fine after updating the fr_inv_timer value. Regards, Chandan On Tue, May 31, 2016 at 7:23 PM, Bogdan-Andrei Iancu