[SR-Users] Sending SIP request from mi_fifo using TMX module

Sammy Govind govoiper at gmail.com
Fri Dec 16 10:02:53 CET 2011


Hello list,

I'm using Kamailio 3.2 and am trying to send a SIP request from fifo to
kamailio using below format.

#kamctl fifo t_uac_dlg MESSAGE sip:103@ mydomain.org  . . "From:
101 at mydomain.org To: 103 at mydomain.org Contact: mydomain.org Content-Type:
text/plain; charset=UTF-8" "INVITE"

But I see this reply from Kamctl

*database engine 'MYSQL' loaded*
*Control engine 'FIFO' loaded*
*entering fifo_cmd t_uac_dlg INVITE sip:103@ mydomain.org  . . From: 101@
mydomain.org  To: 103@ mydomain.org  Contact:  mydomain.org  Content-Type:
text/plain; charset=UTF-8 INVITE*
*400 Bad headers*
*FIFO command was:*
*:t_uac_dlg:openser_receiver_25561*
*INVITE*
*sip:103 at mydomain.org*
*.*
*.*
*From: 101@ mydomain.org  To: 103@ mydomain.org  Contact:
mydomain.org  Content-Type:
text/plain; charset=UTF-8*
*INVITE*



And in log file I see this output:

Dec 16 00:57:46 Kamailio3 /usr/local/sbin/kamailio[24541]: ERROR: <core>
[parser/msg_parser.c:275]: ERROR: get_hdr_field: bad body for <From:
101 at mydomain.org  To: 103@ mydomain.org  Contact:  mydomain.org  Content-Type:
text/plain; charset=UTF-8INVITE#012>(4)
Dec 16 00:57:46 Kamailio3 /usr/local/sbin/kamailio[24541]: INFO: <core>
[parser/msg_parser.c:353]: ERROR: bad header field [From: 101 at mydomain.o]


Can anyone help..


Regards,
Sammy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111216/8634b3fd/attachment.htm>


More information about the sr-users mailing list