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

Iñaki Baz Castillo ibc at aliax.net
Tue May 5 17:04:06 CEST 2009


Hi, some time ago I commited a modification in "scripts/kamctl" due to
a bug in some generated URI's (with no "sip:" in front of them) when
doing "kamctl ping":


http://openser.svn.sourceforge.net/viewvc/openser/trunk/scripts/kamctl?r1=5712&r2=5711&pathrev=5712

It worked ok.

I've done the same modification in "scripts/kamctl" in a 1.5 branch
(without commiting it) and it was worging well (I can use "kamctl
ping") but after updating to rev 5831 (today) I get some strange error
when using "kamctl ping":

--------------------------
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ñaki Baz Castillo
<ibc at aliax.net>



More information about the Devel mailing list