[SR-Users] URGENT! stateless dispatcher BYE issue

Satish Patel satish.txt at gmail.com
Thu May 11 15:06:38 CEST 2017


Thanks Carsten,

Did you see my pcap of both proxy,  why my BYE message bouncing
between two proxy?

also i have question how BYE get routed back? all i know BYE has
Route: header but does it also have record-route too?

On Thu, May 11, 2017 at 2:43 AM, Carsten Bock <carsten at ng-voice.com> wrote:
> Hi,
>
> even if your dispatcher is stateless, you should use loose_route().
>
> Thanks,
> Carsten
>
> 2017-05-10 22:34 GMT+02:00 Satish Patel <satish.txt at gmail.com>:
>> We have 1 stateless dispatcher and 3 proxy behind that dispatcher,
>> when Proxy send BYE message then dispatcher bouncing back that BYE  to
>> Proxy and they playing ping pong.  I think i am missing something..
>>
>> How BYE get routed?  in dispatcher i am not using loose_route()
>> function also should i need to use that but again we running
>> dispatcher in stateless.
>>
>> Here i put SIP trace:  https://pastebin.com/vp9JCdNP
>>
>>
>> Dispatcher config, Very simple..
>>
>> route{
>>
>>         remove_hf("Route");
>>
>>         if (method == "INVITE") {
>>                 record_route();
>>         }
>>
>>
>>         if ( !ds_select_dst("1", "0") ) {
>>             xlog("L_ERR", "Unable to route \n");
>>             sl_send_reply("500","Unable to route");
>>             break;
>>         }
>>
>>        forward(uri:host, uri:port);
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> --
> Carsten Bock
> CEO (Geschäftsführer)
>
> ng-voice GmbH
> Millerntorplatz 1
> 20359 Hamburg / Germany
>
> http://www.ng-voice.com
> mailto:carsten at ng-voice.com
>
> Office +49 40 5247593-40
> Fax +49 40 5247593-99
>
> Sitz der Gesellschaft: Hamburg
> Registergericht: Amtsgericht Hamburg, HRB 120189
> Geschäftsführer: Carsten Bock
> Ust-ID: DE279344284
>
> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
> http://www.ng-voice.com/imprint/
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list