[sr-dev] [kamailio] Module cnxcc: Error in log while parsing fake message (#324)

Rick notifications at github.com
Fri Sep 11 11:32:55 CEST 2015


```
10(21119) DEBUG: dialog [dlg_req_within.c:384]: send_bye(): BYE sent to callee
10(21119) DEBUG: dialog [dlg_hash.c:832]: dlg_unref(): unref dlg 0x808f57580 with 1 -> 2
10(21119) DEBUG: cnxcc [cnxcc_mod.c:1005]: terminate_call(): dlg_end_dlg sent to call []
10(21119) DEBUG: cnxcc [cnxcc_sip_msg_faker.c:45]: faked_msg_init_with_dlg_info(): fake msg:
OPTIONS sip:you at kamailio.org SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1
From: <>;tag=
To: <>;tag=
Call-ID: 
CSeq: 1 OPTIONS
Content-Length: 0


10(21119) DEBUG: <core> [parser/msg_parser.c:606]: parse_msg(): SIP Request:
10(21119) DEBUG: <core> [parser/msg_parser.c:608]: parse_msg():  method:  <OPTIONS>
10(21119) DEBUG: <core> [parser/msg_parser.c:610]: parse_msg():  uri:     <sip:you at kamailio.org>
10(21119) DEBUG: <core> [parser/msg_parser.c:612]: parse_msg():  version: <SIP/2.0>
10(21119) DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=2
10(21119) DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=2
10(21119) DEBUG: <core> [parser/msg_parser.c:498]: parse_headers(): parse_headers: this is the first via
10(21119) exec: *** cfgtrace:request_route=[CNXCC] c=[/usr/local/etc/kamailio/kamailio.cfg] l=777 a=26 n=xlog
10(21119) ERROR: <core> [parser/parse_addr_spec.c:764]: parse_addr_spec(): ERROR: parse_to : unexpected char [>] in status 5: <<<>> .
10(21119) ERROR: <core> [parser/msg_parser.c:165]: get_hdr_field(): ERROR: get_hdr_field: bad to header
10(21119) DEBUG: <core> [parser/msg_parser.c:280]: get_hdr_field(): get_hdr_field: error exit
10(21119) INFO: <core> [parser/msg_parser.c:338]: parse_headers(): ERROR: bad header field [To: <>;tag=
Call-ID]
10(21119) ERROR: pv [pv_core.c:635]: pv_get_callid(): cannot parse Call-Id header
10(21119) INFO: <script>: [<null>]: call killed
```

it seems that the fake message values are not filled,
does I miss load an special module or is it an error because of old source code.

Using version 4.31.

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/324
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150911/fdfbe602/attachment.html>


More information about the sr-dev mailing list