dect
/
asterisk
Archived
13
0
Fork 0

Fix the bug when Sending Complete IE is sent or not sent (i don't remember) asterisk would jump to s|1

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1233 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
martinp 2003-07-28 15:12:37 +00:00
parent 680bfb976a
commit a24f812752
1 changed files with 3 additions and 3 deletions

View File

@ -5609,10 +5609,10 @@ static void *pri_dchannel(void *vpri)
strcpy(pri->pvt[chan]->callerid, "");
strncpy(pri->pvt[chan]->rdnis, e->ring.redirectingnum, sizeof(pri->pvt[chan]->rdnis));
}
/* If immediate=yes or call complete go to s|1 */
if (pri->pvt[chan]->immediate || e->ring.complete) {
/* If immediate=yes go to s|1 */
if (pri->pvt[chan]->immediate) {
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "Going to extension s|1 because of immediate=yes or Complete received\n");
ast_verbose(VERBOSE_PREFIX_3 "Going to extension s|1 because of immediate=yes\n");
strcpy(pri->pvt[chan]->exten, "s");
}
/* Get called number */