[OpenSIPS-Users] Dialog + topology_hiding() + match_dialog() : Contact problem

Pierre-Yves Marche pierrey.marche at gmail.com
Fri Mar 15 18:14:29 CET 2013


Hello,

We are using the  topology_hiding() function from dialog module on opensips
v1.8.2.

We are facing a problem with some SIP stacks that are creating contact like
this:

Contact: "1234556" <sip:123456 at 192.168.106.147:5060>"        Contact:
"Displayname" <URI>


when we call match_dialog(), we have a parse error with such kind of
contact contact:

               xlog("L_INFO","TOPOHIDING on incoming AFTER2\n");
               if(match_dialog()) {
                        xlog("L_INFO","TOPOHIDING on incoming AFTER3\n");


Mar 15 18:08:54 localhost /usr/sbin/opensips[4012]: TOPOHIDING on incoming
AFTER2
Mar 15 18:08:54 localhost /usr/sbin/opensips[4012]: ERROR:core:parse_uri:
bad uri,  state 0 parsed: <1234> (4) / <123456" <
sip:123456 at 192.168.106.147:5060> (48)
Mar 15 18:08:54 localhost /usr/sbin/opensips[4012]:
ERROR:dialog:dlg_th_onroute: Failed to replace contact
Mar 15 18:08:54 localhost /usr/sbin/opensips[4012]: TOPOHIDING on incoming
AFTER3


any idea on this problem ?

Regards,
Pierre-Yves
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130315/0a9b0c58/attachment.htm>


More information about the Users mailing list