add outcall support to nonexistant conferences (needs testing)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4435 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-03-03 01:08:08 +00:00
parent 627f7781c0
commit 9ca0aee975
1 changed files with 1 additions and 1 deletions

View File

@ -2956,7 +2956,7 @@ static switch_status_t conf_api_sub_dial(conference_obj_t *conference, switch_st
if (conference) {
conference_outcall(conference, NULL, NULL, argv[2], 60, NULL, argv[4], argv[3], &cause);
} else {
conference_outcall(NULL, argv[1], NULL, argv[2], 60, NULL, argv[4], argv[3], &cause);
conference_outcall(NULL, argv[0], NULL, argv[2], 60, NULL, argv[4], argv[3], &cause);
}
stream->write_function(stream, "Call Requested: result: [%s]\n", switch_channel_cause2str(cause));