Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Kamailio crashes on ws connection when both http_reply_parse and track_cseq_updates are enabled #1277
Kamailio gives segfault due to SIGCHLD when a websocket client tries to connect to it.
The problem seems to happen due to following global parameter,
Along with following dialog module parameter,
Disabling dialog parameter track_cseq_updates fixes the problem but in my setup i need this to be set since i use uac_auth() method in failure routes.
The issue is reproducible by setting following in kamailio.cfg
In kamailio/modules/dialog/dlg_cseq.c commenting out IF condition at line 81, then rebuilding kamailio binary seems to fix the problem, i.e.