mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@54067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user