[OpenSIPS-Users] dispatcher not doing fail over itself

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Oct 15 17:36:24 CEST 2014


Hi Satish,

In devel branch, there was an error on handling the default value for 
returned value. The M10 (explicitly setting the limit to 10) is a hack, 
it has to work without it.
This error was fixed in the mean while on GIT, see :
     https://github.com/OpenSIPS/opensips/pull/357

So, if you update from GIT, it should work even without M10 flag.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 15.10.2014 18:04, Satish Patel wrote:
> Great!!!
>
> After putting "FM10" now it working!  what the hack is FM10?
>
>
>
> On Wed, Oct 8, 2014 at 6:22 AM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Satish,
>
>     Could you add as extra flag to ds_select_xxx() the "M10" ? That
>     will make the overall flags string "FM10".
>
>     Try with that flags and let me know.
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>     On 20.09.2014 15:18, Satish Patel wrote:
>>     Hey any clue? I'm using 1.12 version.
>>
>>     --
>>     Sent from my iPhone
>>
>>     On Sep 19, 2014, at 4:29 AM, Bogdan-Andrei Iancu
>>     <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>>
>>>     dst is null as there is no pending destination for failover. cnt
>>>     is 1.
>>>
>>>     Which OpenSIPS revision are you using ?
>>>
>>>     Regards,
>>>     Bogdan-Andrei Iancu
>>>     OpenSIPS Founder and Developer
>>>     http://www.opensips-solutions.com
>>>     On 17.09.2014 19:04, Satish Patel wrote:
>>>>     I just trying to print $avp(271) $avp(272) and $avp(273)
>>>>
>>>>     I am getting following output, why dst_avp is null ? and
>>>>     cnt_avp should be 2 right?
>>>>
>>>>      dst_avp = <null>
>>>>      grp_avp = 1
>>>>      cnt_avp = 0
>>>>
>>>>     Notes: I have both Freeswitch instance running on same box but
>>>>     different port, do you think because of that it think it is
>>>>     single host?
>>>>
>>>>     PARTITION:: default
>>>>             SET:: 1
>>>>                     URI:: sip:sip.example.com:5061
>>>>     <http://sip.example.com:5061> state=Active
>>>>                     URI:: sip:sip.example.com:5071
>>>>     <http://sip.example.com:5071> state=Active
>>>>
>>>>
>>>>     On Wed, Sep 17, 2014 at 11:06 AM, Satish Patel
>>>>     <satish.txt at gmail.com <mailto:satish.txt at gmail.com>> wrote:
>>>>
>>>>         Here you go
>>>>
>>>>
>>>>
>>>>
>>>>         /sbin/opensips[28000]: Sending call to ===> Freeswitch
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         p=0x7f9ed01dd420, flags=0x0000
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         #011#011#011name=<274>
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         #011#011#011id=<10>
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         #011#011#011val_int=<0>
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         p=0x7f9ed01df208, flags=0x0000
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         #011#011#011name=<273>
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         #011#011#011id=<9>
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         #011#011#011val_int=<1>
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         p=0x7f9ed01e6518, flags=0x0002
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         #011#011#011name=<272>
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         #011#011#011id=<12>
>>>>         /sbin/opensips[28000]: INFO:avpops:ops_print_avp:
>>>>         #011#011#011val_str=< / 0>
>>>>         /sbin/opensips[28000]: dispatcher: Attempting to dispatch
>>>>         call to sip:182.xx.xx.xxx:5071
>>>>         /sbin/opensips[28005]: Inside dispatcher failure route
>>>>         /sbin/opensips[28005]: ds_dispatcher <null> <null> > <null>
>>>>         /sbin/opensips[28005]:
>>>>         R-DISPATCHER-ROLLOVER:fU4SNHMvcNmnjW19gsSj0g..-S No more
>>>>         gateways in route set
>>>>
>>>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141015/6a098ae7/attachment.htm>


More information about the Users mailing list