Hello,
the To URI starts with < -- see: To: <sip:2057030997@72.31.12.161;tag=gK006cb08b It needs an ending > -- it should be before ;tag= if you don't want tag to be uri parameter instead of to header parameter (as in rfc). Cheers, Daniel On 04/01/2017 16:00, AL S wrote: > > 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@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@72.31.12.161;tag=gK006cb08b > > 546f3a203c7369703a323035373033303939374037322e33312e31322e3136313e3b7461673d674b30303663623038620d0a > > Any help would be appreciated. > > AS, > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users