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@192.168.40.150>To: <sip:131@192.168.40.150>Contact:
<sip:131@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(a)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(a)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(a)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@192.168.40.150>To: <sip:131@192.168.40.150>Contact:
<sip:131@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
Show replies by date