When using the siputils function encode_contact() on a message that contains a user parameter e.g.
<sip:XXXXX00015;phone-context=natio...@10.yyy.1.92;user=phone>;tag=88930 it encodes fine e.g. <sip:natted_ua*sip:XXXXX00015;phone-context=national**192.168.242.102*5080*u...@10.yyy.70.100 > but decode_contact() errors due to the ";" (there is an explicit check for it in the code) I am currently working round this using $rU = $(rU{s.replace,;,:}); to remove the ; as the user part is not needed for my application. Would it be safe to remove the check for ";" ? Gareth
_______________________________________________ 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