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:1...@192.168.40.150>To: 
<sip:1...@192.168.40.150>Contact: <sip:1...@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: 
b1ab82011346f...@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: 
b1ab82011346f...@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: 
b1ab82011346f...@192.168.40.101cseq: 10036 REGISTERExpires: 4294967295"Nov 22 
15:11:07 [14258] DBG:mi_datagram:mi_datagram_parse_node: attr value <From: 
<sip:1...@192.168.40.150>To: <sip:1...@192.168.40.150>Contact: 
<sip:1...@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

                                          
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to