aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-14 22:02:00 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-14 22:02:00 +0000
commit215dbc405d1cc5aab126d22b354bfdc0119282c5 (patch)
tree52249768de76c4cb7b3fb7fd332af2d42303abe1 /channels/chan_sip.c
parentffd67337e3f1cbf144a69a8488ba61387fb32011 (diff)
Merged revisions 286834 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r286834 | dvossel | 2010-09-14 16:57:35 -0500 (Tue, 14 Sep 2010) | 2 lines Sets subscribed type for outgoing MWI subscriptions so correct Event header is used. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@286835 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 8aa0d04a4..8acfcc5bb 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -11547,7 +11547,9 @@ static int __sip_subscribe_mwi_do(struct sip_subscription_mwi *mwi)
/* Associate the call with us */
mwi->call->mwi = ASTOBJ_REF(mwi);
-
+
+ mwi->call->subscribed = MWI_NOTIFICATION;
+
/* Actually send the packet */
transmit_invite(mwi->call, SIP_SUBSCRIBE, 0, 2, NULL);