mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-21 17:12:24 +00:00
Merge sending complete patch with no number (bug #176)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5831,6 +5831,12 @@ static void *pri_dchannel(void *vpri)
|
||||
#endif
|
||||
else
|
||||
strcpy(pri->pvt[chan]->exten, "");
|
||||
/* No number yet, but received "sending complete"? */
|
||||
if (e->ring.complete && (!strlen(e->ring.callednum))) {
|
||||
if (option_verbose > 2)
|
||||
ast_verbose(VERBOSE_PREFIX_3 "Going to extension s|1 because of Complete received\n");
|
||||
strcpy(pri->pvt[chan]->exten, "s");
|
||||
}
|
||||
/* queue DTMF frame if the PBX for this call was already started (we're forwarding INFORMATION further on */
|
||||
if (pri->overlapdial && pri->pvt[chan]->call==e->ring.call && pri->pvt[chan]->owner) {
|
||||
/* how to do that */
|
||||
|
||||
Reference in New Issue
Block a user