mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user