diff options
author | Doug Bailey <dbailey@digium.com> | 2009-01-23 16:35:30 +0000 |
---|---|---|
committer | Doug Bailey <dbailey@digium.com> | 2009-01-23 16:35:30 +0000 |
commit | de63e93a3930f986731ef10ce7f125051ac3dc3d (patch) | |
tree | ede8d12e95776a98a7d20ee1583aa116fc8dad91 /channels | |
parent | dccc06063f5237cae257149abc3e719303be1aed (diff) |
MWI messages included in CID spill was not being properly handled and prevented the call from being processed
(issue #14313)
Reported by: seandarcy
Tested by: dbailey
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_dahdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 631694261..257baff38 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -7517,16 +7517,16 @@ static void *ss_thread(void *data) /* If generated using Ring Pulse Alert, then ring has been answered as a call and needs to be hungup */ if (p->mwimonitor_rpas) { ast_hangup(chan); + return NULL; } - return NULL; } else if (flags & CID_NOMSGWAITING) { ast_log(LOG_NOTICE, "MWI: Channel %d no message waiting!\n", p->channel); notify_message(p->mailbox, 0); /* If generated using Ring Pulse Alert, then ring has been answered as a call and needs to be hungup */ if (p->mwimonitor_rpas) { ast_hangup(chan); + return NULL; } - return NULL; } ast_setstate(chan, AST_STATE_RING); |