[SR-Users] Double-quote with t_uac_dlg

Kévin L'heveder koon65 at hotmail.com
Mon Nov 22 14:20:17 CET 2010


Hi,
I have some troubles to send via t_uac_dlg a REGISTER method with an authorization field cause the values like digest, realm...are containing between double-quotes and that produce a parse error in kamailio.
I didn't find how can i escape those double-quotes to prevent from this error.
Here's the error logged:
Nov 22 15:11:07 [14258] DBG:mi_datagram:mi_datagram_parse_node: we have a  quoted value, "From: <sip:131 at 192.168.40.150>To: <sip:131 at 192.168.40.150>Contact: <sip:131 at 192.168.40.210:53000>Authorization: Digest username="131", realm="Asterisk/CM-YAHSAT", algorithm=MD5, uri="sip:192.168.40.202", nonce="5c87d7ed", response="fc126aadd3ba6b6ffbf38aea6be02122"Call-ID: b1ab82011346ff36 at 192.168.40.101CSeq: 10036 REGISTERExpires: 4294967295"Nov 22 15:11:07 [14258] DBG:mi_datagram:mi_datagram_parse_node: " found p is "131", realm="Asterisk/CM-YAHSAT", algorithm=MD5, uri="sip:192.168.40.202", nonce="5c87d7ed", response="fc126aadd3ba6b6ffbf38aea6be02122"Call-ID: b1ab82011346ff36 at 192.168.40.101CSeq: 10036 REGISTERExpires: 4294967295"Nov 22 15:11:07 [14258] DBG:mi_datagram:mi_datagram_parse_node: we have reached the end of attr value, p is "131", realm="Asterisk/CM-YAHSAT", algorithm=MD5, uri="sip:192.168.40.202", nonce="5c87d7ed", response="fc126aadd3ba6b6ffbf38aea6be02122"Call-ID: b1ab82011346ff36 at 192.168.40.101CSeq: 10036 REGISTERExpires: 4294967295"Nov 22 15:11:07 [14258] DBG:mi_datagram:mi_datagram_parse_node: attr value <From: <sip:131 at 192.168.40.150>To: <sip:131 at 192.168.40.150>Contact: <sip:131 at 192.168.40.210:53000>Authorization: Digest username=> foundNov 22 15:11:07 [14258] ERROR:mi_datagram:mi_datagram_parse_node: didn't find newline case1 Nov 22 15:11:07 [14258] ERROR:mi_datagram:mi_datagram_parse_node: parse error around 1Nov 22 15:11:07 [14258] ERROR:mi_datagram:mi_datagram_parse_tree: parse error!Nov 22 15:11:07 [14258] ERROR:mi_datagram:mi_datagram_server: failed to parse the MI tree

regards,Koon

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101122/9fbe48ad/attachment.htm>


More information about the sr-users mailing list