aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-21 01:02:50 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-21 01:02:50 +0000
commit55e5232d865a91bcb0305a069fffd9f90e6099f5 (patch)
treea206df1482683f3e241b0d3f241cd7965937099a /channels
parent7d4c1ecad9fb5f1a642bd10180dc432b08d117ae (diff)
Send CONNECT_ACKNOWLEDGE for CIS calls too.
The originator of the Q.SIG call completion signaling link was not changed to the active state when the CONNECT message came in. The T309 processing would immediately kill the signaling link because it was not in the active state. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@292489 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/sig_pri.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/sig_pri.c b/channels/sig_pri.c
index 9f3ebb7be..bab7ae4d2 100644
--- a/channels/sig_pri.c
+++ b/channels/sig_pri.c
@@ -5063,6 +5063,10 @@ static void *pri_dchannel(void *vpri)
break;
case PRI_EVENT_ANSWER:
if (sig_pri_is_cis_call(e->answer.channel)) {
+#if defined(HAVE_PRI_CALL_WAITING)
+ /* Call is CIS so do normal CONNECT_ACKNOWLEDGE. */
+ pri_connect_ack(pri->pri, e->answer.call, 0);
+#endif /* defined(HAVE_PRI_CALL_WAITING) */
sig_pri_handle_cis_subcmds(pri, e->e, e->answer.subcmds,
e->answer.call);
break;