{"action":"opened","issue":{"url":"https://api.github.com/repos/kamailio/kamailio/issues/526","repository_url":"https://api.github.com/repos/kamailio/kamailio","labels_url":"https://api.github.com/repos/kamailio/kamailio/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/kamailio/kamailio/issues/526/comments","events_url":"https://api.github.com/repos/kamailio/kamailio/issues/526/events","html_url":"https://github.com/kamailio/kamailio/issues/526","id":137727623,"number":526,"title":"dialog: Enabling track_cseq_updates causes message parsing to fail","user":{"login":"aphistic","id":149495,"avatar_url":"https://avatars.githubusercontent.com/u/149495?v=3","gravatar_id":"","url":"https://api.github.com/users/aphistic","html_url":"https://github.com/aphistic","followers_url":"https://api.github.com/users/aphistic/followers","following_url":"https://api.github.com/users/aphistic/following{/other_user}","gists_url":"https://api.github.com/users/aphistic/gists{/gist_id}","starred_url":"https://api.github.com/users/aphistic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aphistic/subscriptions","organizations_url":"https://api.github.com/users/aphistic/orgs","repos_url":"https://api.github.com/users/aphistic/repos","events_url":"https://api.github.com/users/aphistic/events{/privacy}","received_events_url":"https://api.github.com/users/aphistic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-02T00:01:56Z","updated_at":"2016-03-02T00:01:56Z","closed_at":null,"body":"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:\r\n\r\n 2(6160) INFO: <core> [parser/parse_fline.c:144]: parse_first_line(): ERROR:parse_first_line: method not followed by SP\r\n 2(6160) ERROR: <core> [parser/parse_fline.c:257]: parse_first_line(): parse_first_line: bad message (offset: 0)\r\n 2(6160) ERROR: <core> [parser/msg_parser.c:690]: parse_msg(): ERROR: parse_msg: message=<ÄÜ\r\ns2¬>\r\n\r\nIf 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.\r\n\r\nI'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. =/\r\n\r\nI'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."}}