diff options
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 4 |
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); |