diff options
author | Matthew Fredrickson <creslin@digium.com> | 2008-03-07 22:36:49 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2008-03-07 22:36:49 +0000 |
commit | 8874940104b257c225339e82ee50fac13f3e8569 (patch) | |
tree | 0dc4266e19a2ea590929f7b7f259159a5ac1accf /channels | |
parent | 8aa30ccf0ba28b007be40b52a4b8a36952890c1b (diff) |
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
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_zap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index ea19e9f56..5614b1fdc 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -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); |