< Previous by Date | Date Index | Next by Date > |
Thread Index | Next in Thread > |
New versions of Asterisk (12+, based on pjsip stack) send keep alive packets as '\r\n\0' instead of '\r\n\r\n'. Ignoring the fact that these are treated as "pong" packets, the trailing null byte mess up the preprocessor state such that any subsequent SIP message cannot be parsed properly and the stack sends 400 error.
This change makes the "ping" and "pong" packet processing ignore trailing null bytes.
https://github.com/resiprocate/resiprocate/pull/38
—
Reply to this email directly or view it on GitHub.