<div dir="ltr">Anyone?<div><br></div><div>If no one objects I will submit a patch with it removed.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 December 2012 09:11, Gareth Rylance <span dir="ltr">&lt;<a href="mailto:gareth@rylance.me.uk" target="_blank">gareth@rylance.me.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>When using the siputils function  encode_contact() on a message that contains a user parameter e.g.</div>
<div><br></div><div>&lt;sip:XXXXX00015;phone-context=national@10.YYY.1.92;user=phone&gt;;tag=88930</div>
</div><div><br></div><div>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>but decode_contact() errors due to the &quot;;&quot; (there is an explicit check for it in the code)</div>

<div><br></div><div>I am currently working round this using</div><div><br></div><div>$rU = $(rU{s.replace,;,:});</div><div><br></div><div>to remove the ; as the user part is not needed for my application.</div>
<div><br></div><div>Would it be safe to remove the check for &quot;;&quot; ?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Gareth</div><div><br></div><div><br></div><div> </div><div><span style="white-space:pre-wrap">                        </span></div>

<div><br></div></font></span></div>
</blockquote></div><br></div>