summaryrefslogtreecommitdiff
path: root/apps/app_followme.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-05-31 16:36:35 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-05-31 16:36:35 -0500
commit608e0267e8512e16e186cbdc874cd7902e287ff7 (patch)
tree6f632eaf07b813be6ef771dca26876ed3c379b37 /apps/app_followme.c
parentad31e5bb1c663b3b4c64f5668728dac70dfb4af1 (diff)
parent205a31f86c4ceec4966492363fb9ac674c990235 (diff)
Merge "Expand the scope of Dial Events"
Diffstat (limited to 'apps/app_followme.c')
-rw-r--r--apps/app_followme.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c
index 7d13bb4b4..a955843bc 100644
--- a/apps/app_followme.c
+++ b/apps/app_followme.c
@@ -848,9 +848,11 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us
break;
case AST_CONTROL_RINGING:
ast_verb(3, "%s is ringing\n", ast_channel_name(winner));
+ ast_channel_publish_dial(caller, winner, NULL, "RINGING");
break;
case AST_CONTROL_PROGRESS:
ast_verb(3, "%s is making progress\n", ast_channel_name(winner));
+ ast_channel_publish_dial(caller, winner, NULL, "PROGRESS");
break;
case AST_CONTROL_VIDUPDATE:
ast_verb(3, "%s requested a video update\n", ast_channel_name(winner));
@@ -860,6 +862,7 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us
break;
case AST_CONTROL_PROCEEDING:
ast_verb(3, "%s is proceeding\n", ast_channel_name(winner));
+ ast_channel_publish_dial(caller, winner, NULL, "PROCEEDING");
break;
case AST_CONTROL_HOLD:
ast_verb(3, "%s placed call on hold\n", ast_channel_name(winner));