[sr-dev] [kamailio/kamailio] uac rewrites from user with non valid string (#833)

vinzens notifications at github.com
Thu Oct 27 13:16:08 CEST 2016


While making an basic call with uac_reg User though kamailio, the FROM Uri gets re-written within the Bye message.
Here according code it should xor the old uri with new uri. But it seems the old uri is damaged or read from non valid string.

We have this issue in Live environment and in DEV. Funny part is the string seems to be always the same  on one system, but different between the systems. In our DEV the string Contains a " which brings the from URI Parser to crash. On Live there are only valid letters so it's just damaged, but the Bye is working. 

Attached you can find a trace from that scenario Basic call A to B and B Answers the call and Hangs up. The bye is sedn OK to Kamailio and the Bye from Kamailio to A is broken (from uri).

Logs with debug level 1 and 5 are also attached. We are able to reproduce it in our development setup so we can make retests all the time.
[kamailio_prob.zip](https://github.com/kamailio/kamailio/files/555579/kamailio_prob.zip)


-- 
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/issues/833
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161027/31ad57a3/attachment.html>


More information about the sr-dev mailing list