aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-12 18:01:15 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-12 18:01:15 +0000
commitf065afb98732557832c86e12ba6b137f66d34895 (patch)
tree032ff608f202b9ca90d2ee3f5b83be36459c03e5 /apps
parenta563a68e9ffdf2059860236f9a8720c8d4c2e264 (diff)
Merged revisions 54066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r54066 | russell | 2007-02-12 11:58:43 -0600 (Mon, 12 Feb 2007) | 4 lines - Add the ability to register a callback to monitor state changes in an asynchronous dial operation. - Rename the various references to "status" to "state" in the dial API ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54067 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_meetme.c4
-rw-r--r--apps/app_page.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 1b9ee64a0..37ad8442b 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -3153,7 +3153,7 @@ static void *sla_thread(void *data)
ast_mutex_t cond_lock;
ast_cond_t cond;
- switch ((dial_res = ast_dial_status(station_ref->station->dial))) {
+ switch ((dial_res = ast_dial_state(station_ref->station->dial))) {
case AST_DIAL_RESULT_HANGUP:
case AST_DIAL_RESULT_INVALID:
case AST_DIAL_RESULT_FAILED:
@@ -3296,7 +3296,7 @@ static void *dial_trunk(void *data)
for (;;) {
unsigned int done = 0;
- switch ((dial_res = ast_dial_status(dial))) {
+ switch ((dial_res = ast_dial_state(dial))) {
case AST_DIAL_RESULT_ANSWERED:
trunk->chan = ast_dial_answered(dial);
case AST_DIAL_RESULT_HANGUP:
diff --git a/apps/app_page.c b/apps/app_page.c
index 22b7f918d..f324dd5c9 100644
--- a/apps/app_page.c
+++ b/apps/app_page.c
@@ -178,7 +178,7 @@ static int page_exec(struct ast_channel *chan, void *data)
struct ast_dial *dial = dials[i];
/* If the dial is already answered, then they will/should get kicked out by Meetme */
- if (ast_dial_status(dial) != AST_DIAL_RESULT_ANSWERED)
+ if (ast_dial_state(dial) != AST_DIAL_RESULT_ANSWERED)
ast_dial_join(dial);
/* Hangup all channels */