[sr-dev] [kamailio/kamailio] topos: correct order of Route header after restoring from b_rr (#1124)

sergey-vb notifications at github.com
Mon May 8 08:49:29 CEST 2017


With topoh enabled I have:

Route: <sip:10.56.42.37:5070;lr;ftag=IpXq-LwNvJF6WrkOcmZNf9WjmGjK5dUv;did=90c.1132;vsf=AAAAAAAAAAAAAAAAAABlY2Bmf359HGJ6cX8bc3h9OjUwNjA7dXNlcj1waG9uZQ--;vst=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAgEAAgcAAAABAAAAAAAAAAAAAAAA>
Route: <sip:TEST.MSS.LIFE.COM:5060;transport=UDP;lr>

But with topos enabled I have:

Route: <sip:TEST.MSS.LIFE.COM:5060;transport=UDP;lr>,<sip:10.56.42.37:5070;lr;ftag=EN0cvoXXCOgdGoO2zizq-WNmE4Enf4Nt;did=434.5ce1;vsf=AAAAAAAAAAAAAAAAAABlY2Bmf359HGJ6cX8bc3h9OjUwNjA7dXNlcj1waG9uZQ--;vst=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAgEAAgcAAAABAAAAAAAAAAAAAAAA>

And kamailio trying to send ACK to TEST.MSS.LIFE.COM:5060

After this patch Route header are restores in from:

Route: <sip:10.56.42.37:5070;lr;ftag=EN0cvoXXCOgdGoO2zizq-WNmE4Enf4Nt;did=434.5ce1;vsf=AAAAAAAAAAAAAAAAAABlY2Bmf359HGJ6cX8bc3h9OjUwNjA7dXNlcj1waG9uZQ--;vst=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAgEAAgcAAAABAAAAAAAAAAAAAAAA>
Route: <sip:TEST.MSS.LIFE.COM:5060;transport=UDP;lr>

Now ACK are routed correctly.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1124

-- Commit Summary --

  * topos: correct order of Route header after restoring from b_rr

-- File Changes --

    M src/modules/topos/tps_msg.c (2)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1124.patch
https://github.com/kamailio/kamailio/pull/1124.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170507/70485528/attachment.html>


More information about the sr-dev mailing list