[asterisk-commits] mattf: trunk r115598 - /trunk/channels/chan_zap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat May 10 21:19:21 CDT 2008


Author: mattf
Date: Sat May 10 21:19:21 2008
New Revision: 115598

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115598
Log:
Open up audio channel when we get ACM on SS7 event

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=115598&r1=115597&r2=115598
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Sat May 10 21:19:21 2008
@@ -9632,6 +9632,7 @@
 					break;
 				} else {
 					struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_PROCEEDING, };
+					struct ast_frame g = { AST_FRAME_CONTROL, AST_CONTROL_PROGRESS, };
 
 					p = linkset->pvts[chanpos];
 
@@ -9644,6 +9645,8 @@
 					ast_mutex_lock(&p->lock);
 					zap_queue_frame(p, &f, linkset);
 					p->proceeding = 1;
+					zap_queue_frame(p, &g, linkset);
+					p->progress = 1;
 
 					ast_mutex_unlock(&p->lock);
 				}




More information about the asterisk-commits mailing list