From: David Vossel Date: Tue, 14 Sep 2010 21:57:35 +0000 (+0000) Subject: Sets subscribed type for outgoing MWI subscriptions so correct Event header is used. X-Git-Tag: 1.8.0-rc1~3^2~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50d114dcd5e9709bef0b3b8946e2dd7fe78e29ea;p=thirdparty%2Fasterisk.git Sets subscribed type for outgoing MWI subscriptions so correct Event header is used. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@286834 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6195d041d9..148fefbc21 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11522,7 +11522,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);