mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Update for sendingcomplete
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5607,10 +5607,10 @@ static void *pri_dchannel(void *vpri)
|
|||||||
strcpy(pri->pvt[chan]->callerid, "");
|
strcpy(pri->pvt[chan]->callerid, "");
|
||||||
strncpy(pri->pvt[chan]->rdnis, e->ring.redirectingnum, sizeof(pri->pvt[chan]->rdnis));
|
strncpy(pri->pvt[chan]->rdnis, e->ring.redirectingnum, sizeof(pri->pvt[chan]->rdnis));
|
||||||
}
|
}
|
||||||
/* If immediate=yes go to s|1 */
|
/* If immediate=yes or call complete go to s|1 */
|
||||||
if (pri->pvt[chan]->immediate) {
|
if (pri->pvt[chan]->immediate || e->ring.complete) {
|
||||||
if (option_verbose > 2)
|
if (option_verbose > 2)
|
||||||
ast_verbose(VERBOSE_PREFIX_3 "Going to extension s|1 because of immediate=yes\n");
|
ast_verbose(VERBOSE_PREFIX_3 "Going to extension s|1 because of immediate=yes or Complete received\n");
|
||||||
strcpy(pri->pvt[chan]->exten, "s");
|
strcpy(pri->pvt[chan]->exten, "s");
|
||||||
}
|
}
|
||||||
/* Get called number */
|
/* Get called number */
|
||||||
|
|||||||
Reference in New Issue
Block a user