sorry don't worry. There is no problem in fact in the code.<br>The problem was on my opensips.cfg. Problem fixed <br><br>Regards,<br>Pierre-Yves <br><br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 6:14 PM, Pierre-Yves Marche <span dir="ltr"><<a href="mailto:pierrey.marche@gmail.com" target="_blank">pierrey.marche@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br><br>We are using the topology_hiding() function from dialog module on opensips v1.8.2.<br><br>We are facing a problem with some SIP stacks that are creating contact like this:<br>
<br>Contact: "1234556" <<a href="http://sip:123456@192.168.106.147:5060" target="_blank">sip:123456@192.168.106.147:5060</a>>" Contact: "Displayname" <URI><br>
<br><br>when we call match_dialog(), we have a parse error with such kind of contact contact:<br><br> xlog("L_INFO","TOPOHIDING on incoming AFTER2\n");<br> if(match_dialog()) {<br>
xlog("L_INFO","TOPOHIDING on incoming AFTER3\n");<br><br><br>Mar 15 18:08:54 localhost /usr/sbin/opensips[4012]: TOPOHIDING on incoming AFTER2<br>Mar 15 18:08:54 localhost /usr/sbin/opensips[4012]: ERROR:core:parse_uri: bad uri, state 0 parsed: <1234> (4) / <123456" <<a href="http://sip:123456@192.168.106.147:5060" target="_blank">sip:123456@192.168.106.147:5060</a>> (48)<br>
Mar 15 18:08:54 localhost /usr/sbin/opensips[4012]: ERROR:dialog:dlg_th_onroute: Failed to replace contact<br>Mar 15 18:08:54 localhost /usr/sbin/opensips[4012]: TOPOHIDING on incoming AFTER3<br><br><br>any idea on this problem ?<br>
<br>Regards,<br>Pierre-Yves<br><br>
</blockquote></div><br>