Make sure we don't start a call when we have already done so in response to a COT message

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@106892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Fredrickson 2008-03-07 22:36:49 +00:00
parent 8aa30ccf0b
commit 8874940104
1 changed files with 5 additions and 3 deletions

View File

@ -9506,9 +9506,11 @@ static void *ss7_linkset(void *data)
}
p = linkset->pvts[chanpos];
zt_loopback(p, 0);
ss7_start_call(p, linkset);
if (p->loopedback) {
zt_loopback(p, 0);
ss7_start_call(p, linkset);
}
break;
case ISUP_EVENT_CCR:
ast_debug(1, "Got CCR request on CIC %d\n", e->ccr.cic);