<div dir="ltr"><div><div style>When using the siputils function  encode_contact() on a message that contains a user parameter e.g.</div><div style><br></div><div style>&lt;sip:XXXXX00015;phone-context=national@10.YYY.1.92;user=phone&gt;;tag=88930</div>
</div><div style><br></div><div style>it encodes fine e.g.</div><div><br></div><div>&lt;sip:natted_ua*sip:XXXXX00015;phone-context=national**192.168.242.102*5080*udp@10.YYY.70.100&gt;<br></div><div><br></div><div style>but decode_contact() errors due to the &quot;;&quot; (there is an explicit check for it in the code)</div>
<div><br></div><div style>I am currently working round this using</div><div style><br></div><div>$rU = $(rU{s.replace,;,:});</div><div><br></div><div style>to remove the ; as the user part is not needed for my application.</div>
<div style><br></div><div style>Would it be safe to remove the check for &quot;;&quot; ?</div><div style><br></div><div style>Gareth</div><div style><br></div><div style><br></div><div style> </div><div><span style="white-space:pre-wrap">                        </span></div>
<div><br></div></div>