[Kamailio-Devel] ERROR in "kamctl ping" ( parse_to: unexpected char [ ] in status 0: <<>> . )

Juha Heinanen jh at tutpro.com
Tue May 5 17:17:51 CEST 2009


Iñaki Baz Castillo writes:

 > DBG:mi_fifo:mi_parse_tree: adding node <> ; val <OPTIONS>
 > DBG:mi_fifo:mi_parse_tree: adding node <> ; val <sip:30000 at domain.org>
 > DBG:mi_fifo:mi_parse_tree: adding node <> ; val <.>
 > DBG:mi_fifo:mi_parse_tree: adding node <> ; val <.>
 > DBG:mi_fifo:mi_parse_tree: adding node <> ; val <From:
 > sip:daemon at domain.org  To:<sip:30000 at domain.org>  Contact:
 > sip:daemon at domain.org  >
 > DBG:mi_fifo:mi_parse_node: end of fifo input tree
 > DBG:mi_fifo:mi_fifo_server: done parsing the mi tree
 > DBG:core:parse_headers: flags=ffffffffffffffff
 > DBG:core:parse_to: end of header reached, state=10
 > DBG:core:parse_to: display={}, ruri={sip:30000 at domain.org}
 > DBG:core:get_hdr_field: <To> [37]; uri=[sip:30000 at domain.org]
 > DBG:core:get_hdr_field: to body [<sip:30000 at domain.org>  ]
 > ERROR:core:parse_to: unexpected char [ ] in status 0: <<>> .
 > ERROR:core:parse_from_header: bad from header
 > DBG:core:set_err_info: ec: 1, el: 3, ei: 'error parsing From'
 > --------------------------
 > I don't understand the reason for this issue, any help please?

i don't know if a space is required after :, but it should not hurt
either.  also, check that each header is followed by CRLF.  perhaps also
remove <> from around to uri.

-- juha



More information about the Devel mailing list