[SR-Users] URGENT! stateless dispatcher BYE issue

Carsten Bock carsten at ng-voice.com
Thu May 11 08:43:11 CEST 2017


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/



More information about the sr-users mailing list