diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 3 | ||||
-rw-r--r-- | apps/app_followme.c | 3 | ||||
-rw-r--r-- | apps/app_queue.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index a5eb03675..e6d9c5448 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1427,6 +1427,9 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, cc_frame_received = 1; } break; + case AST_CONTROL_PVT_CAUSE_CODE: + ast_indicate_data(in, AST_CONTROL_PVT_CAUSE_CODE, f->data.ptr, f->datalen); + break; case -1: if (single && !caller_entertained) { ast_verb(3, "%s stopped sounds\n", ast_channel_name(c)); diff --git a/apps/app_followme.c b/apps/app_followme.c index 8b894d6d2..bbbde5fab 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -877,6 +877,9 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us * the caller. */ break; + case AST_CONTROL_PVT_CAUSE_CODE: + ast_indicate_data(caller, f->subclass.integer, f->data.ptr, f->datalen); + break; case -1: ast_verb(3, "%s stopped sounds\n", ast_channel_name(winner)); break; diff --git a/apps/app_queue.c b/apps/app_queue.c index 7db08193c..151f03cd4 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -4050,6 +4050,9 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte } } break; + case AST_CONTROL_PVT_CAUSE_CODE: + ast_indicate_data(in, AST_CONTROL_PVT_CAUSE_CODE, f->data.ptr, f->datalen); + break; default: ast_debug(1, "Dunno what to do with control type %d\n", f->subclass.integer); break; |