- 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@54066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-02-12 17:58:43 +00:00
parent 329df6f95e
commit 5bc6ee1714
4 changed files with 54 additions and 32 deletions

View File

@@ -168,7 +168,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 */