diff options
author | Jason Parker <jparker@digium.com> | 2007-08-17 19:13:25 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2007-08-17 19:13:25 +0000 |
commit | 100e2387db5157b70ff95d533a6b8b1eab36a150 (patch) | |
tree | 6eb7b155ebd754288bfebad4de7ec9d57bbf8ddc /channels | |
parent | 0e83c804802f39b653de8afa413cc70338483e29 (diff) |
Merged revisions 79904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10430)
........
r79904 | qwell | 2007-08-17 14:12:19 -0500 (Fri, 17 Aug 2007) | 11 lines
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/trunk@79905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f8b047067..7a95c1d76 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12310,7 +12310,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 */ ast_sip_ouraddrfor(&p->sa.sin_addr, &p->ourip); |