mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
- 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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user