diff options
author | Joshua Colp <jcolp@digium.com> | 2009-06-01 13:31:27 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2009-06-01 13:31:27 +0000 |
commit | 6e1bd8aad7b5a8a099004231dcc8521da3a01613 (patch) | |
tree | f8001e12bd552d04c99f61f47f3e50953542861b /channels/chan_sip.c | |
parent | ba6f16d55faee2d740e57dfa358151905a6485e6 (diff) |
Fix a bug where the Event and Content-Type headers were added twice to outgoing SIP NOTIFY messages.
(closes issue #15239)
Reported by: pj
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index fe362b805..9de562630 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -10794,8 +10794,6 @@ static int transmit_state_notify(struct sip_pvt *p, int state, int full, int tim reqprep(&req, p, SIP_NOTIFY, 0, 1); - add_header(&req, "Event", subscriptiontype->event); - add_header(&req, "Content-Type", subscriptiontype->mediatype); switch(state) { case AST_EXTENSION_DEACTIVATED: if (timeout) |