mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 02:52:32 +00:00
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:
parent
627f7781c0
commit
9ca0aee975
@ -2956,7 +2956,7 @@ static switch_status_t conf_api_sub_dial(conference_obj_t *conference, switch_st
|
|||||||
if (conference) {
|
if (conference) {
|
||||||
conference_outcall(conference, NULL, NULL, argv[2], 60, NULL, argv[4], argv[3], &cause);
|
conference_outcall(conference, NULL, NULL, argv[2], 60, NULL, argv[4], argv[3], &cause);
|
||||||
} else {
|
} 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));
|
stream->write_function(stream, "Call Requested: result: [%s]\n", switch_channel_cause2str(cause));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user