Hello,


can you check to see if the UA is sending back same values for From/To as kamailio is sending to it?


If not, then it doesn't really care for the constraint of not changing them, so you can skip auto restore of those headers. Or configure kamailio uac module to use dialog module for changing these headers instead of record routing.


Cheers,
Daniel

On 16/12/2016 15:37, AL S wrote:

Hi,


An INVITE with following FROM and TO headers received by Kamailio:


From: <sip:+11111111111@10.10.10.10;user=phone>;tag=gK006cb08b
To: <sip:+12222222222@20.20.20.20;user=phone>

Kamailio forward it to next node with following FROM and TO headers:


From: <sip:+11111111111@10.10.10.10>;tag=gK006cb08b
To: <sip:+12222222222@20.20.20.20;user=phone>

After 15 min, reINVITE for the same call received by Kamailio with following FROM and TO headers:


From: <sip:12222222222@20.20.20.20;user=phone>;tag=gK04c77151
To: <sip:11111111111@10.10.10.10>;tag=gK006cb08b

Kamailio forward reINVITE to next node with following unusual characters in TO headers


From: <sip:12222222222@20.20.20.20;user=phone>;tag=gK04c77151
To: <sip:11111111111@10.10.10.10\000\000;user=phone>;tag=gK006cb08b

I was wondering if there is a bug in Kamailio to insert these unusual characters.


Thanks,

AS




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com