[SR-Users] unexpected char [#015]

AL S alirsm2 at outlook.com
Wed Jan 4 16:31:00 CET 2017


Hi,


Here is another failed test call with closing angle bracket:


Kamailio log

Jan  3 14:55:41 tpa-ar-openser01 /usr/sbin/kamailio[4782]: ERROR: <core> [parser/parse_to.c:626]: ERROR: parse_to : unexpected char [#015] in status 6: <<<sip:2057030997 at 72.31.12.161;tag=gK0c002371>> .



FROM and TO in INVITE received by Kamailio


From: <sip:7272697443 at 71.44.13.84;user=phone>;tag=gK0c9dcf07

To: <sip:2057030997 at 72.31.12.161>;tag=gK0c002371



FROM and TO in INVITE forward by Kamailio for the same call


From: <sip:7272697443 at 71.44.13.84;user=phone>;tag=gK0c9dcf07

To: <sip:2057030997 at 72.31.12.161\000\000>;tag=gK0c002371


Thanks,

AS

________________________________
From: sr-users <sr-users-bounces at lists.sip-router.org> on behalf of AL S <alirsm2 at outlook.com>
Sent: Wednesday, January 4, 2017 10:00:52 AM
To: sr-users at lists.sip-router.org
Subject: [SR-Users] unexpected char [#015]


Hi,


Kamailio is complaining about unexpected char [#015] in TO header of INVITE:


Jan  3 14:55:41 tpa-ar-openser01 /usr/sbin/kamailio[4782]: ERROR: <core> [parser/parse_to.c:626]: ERROR: parse_to : unexpected char [#015] in status 6: <<<sip:2057030997 at 72.31.12.161;tag=gK006cb08b>> .
Jan  3 14:55:41 tpa-ar-openser01 /usr/sbin/kamailio[4782]: ERROR: <core> [parser/msg_parser.c:180]: ERROR: get_hdr_field: bad to header
Jan  3 14:55:41 tpa-ar-openser01 /usr/sbin/kamailio[4782]: INFO: <core> [parser/msg_parser.c:353]: ERROR: bad header field [To: <sip:2057030997@]
Jan  3 14:55:41 tpa-ar-openser01 /usr/sbin/kamailio[4782]: ERROR: tm [t_lookup.c:1118]: ERROR: reply cannot be parsed

Here is the TO header for the same call in both text and hex format. I am unable to see any ^M char in this TO header.

To: <sip:2057030997 at 72.31.12.161;tag=gK006cb08b

546f3a203c7369703a323035373033303939374037322e33312e31322e3136313e3b7461673d674b30303663623038620d0a

Any help would be appreciated.

AS,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170104/942cd98d/attachment.html>


More information about the sr-users mailing list