[sr-dev] [kamailio] dialog: Enabling track_cseq_updates causes message parsing to fail (#526)

Erik Davidson notifications at github.com
Wed Mar 2 01:02:01 CET 2016


With the config that we use for Kamailio, when we enable the track_cseq_updates option on the dialog module (for use with uac_auth()) it causes Kamailio to start failing on parse_first_line() with the following error:

 2(6160) INFO: <core> [parser/parse_fline.c:144]: parse_first_line(): ERROR:parse_first_line: method not followed by SP
 2(6160) ERROR: <core> [parser/parse_fline.c:257]: parse_first_line(): parse_first_line: bad message (offset: 0)
 2(6160) ERROR: <core> [parser/msg_parser.c:690]: parse_msg(): ERROR: parse_msg: message=<ÄÜ
s2¬>

If you look at the 3rd line of the error it looks like the pointer to the message or the message itself somehow gets corrupted.  If I simply switch off the track_cseq_updates option it starts to function normally again.

I'm sorry I don't have a config file I can give as an example because the minimalist config I tried creating with that option on worked fine, so there must be something in our config that's leading to this issue but I'm unable to include our config. =/

I'm working on tracking down the issue myself but I wanted to create this issue in case anyone has run into this before or has any pointers on where I should look to reduce the amount of code I need to look through.

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


More information about the sr-dev mailing list