When using the siputils function encode_contact() on a message that contains a user parameter e.g.
<sip:XXXXX00015;phone-context=national@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*udp@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