Open up audio channel when we get ACM on SS7 event

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Fredrickson
2008-05-11 02:19:21 +00:00
parent 0c08b7727d
commit 1a492c49d4

View File

@@ -9632,6 +9632,7 @@ static void *ss7_linkset(void *data)
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 @@ static void *ss7_linkset(void *data)
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);
}