mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 03:02:15 +00:00
Don't send a semicolon over the wire in sip notify messages.
Caused by fix for issue 9938. I basically took the code that existed before 9938 was fixed, and copied it into a new function - ast_unescape_semicolon There should be very few places this will be needed (pbx_config does NOT need this (see issue 9938 for details)) Issue 10430, patch by me, with help/ideas from murf (thanks murf). git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@79904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -11120,7 +11120,7 @@ static int sip_notify(int fd, int argc, char *argv[])
|
||||
initreqprep(&req, p, SIP_NOTIFY);
|
||||
|
||||
for (var = varlist; var; var = var->next)
|
||||
add_header(&req, var->name, var->value);
|
||||
add_header(&req, var->name, ast_unescape_semicolon(var->value));
|
||||
|
||||
/* Recalculate our side, and recalculate Call ID */
|
||||
if (ast_sip_ouraddrfor(&p->sa.sin_addr, &p->ourip))
|
||||
|
Reference in New Issue
Block a user