Alert for in-band audio
authorMark Spencer <markster@digium.com>
Wed, 19 May 2004 15:23:11 +0000 (15:23 +0000)
committerMark Spencer <markster@digium.com>
Wed, 19 May 2004 15:23:11 +0000 (15:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3015 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 0ac13e6..632860e 100755 (executable)
@@ -3854,7 +3854,7 @@ static int zt_write(struct ast_channel *ast, struct ast_frame *frame)
                if (p->pri->pri) {              
                        if (!pri_grab(p, p->pri)) {
 #ifdef PRI_PROGRESS
-                                       pri_progress(p->pri->pri,p->call);
+                                       pri_progress(p->pri->pri,p->call, 1);
 #else                                          
                                        pri_acknowledge(p->pri->pri,p->call, p->prioffset, 1);
 #endif                                         
@@ -3968,7 +3968,7 @@ static int zt_indicate(struct ast_channel *chan, int condition)
                                if (p->pri->pri) {              
                                        if (!pri_grab(p, p->pri)) {
 #ifdef PRI_PROGRESS
-                                               pri_progress(p->pri->pri,p->call);
+                                               pri_progress(p->pri->pri,p->call, 1);
 #else                                          
                                                pri_acknowledge(p->pri->pri,p->call, p->prioffset, 1);
 #endif