From: Anthony Minessale Date: Sat, 3 Mar 2007 01:08:08 +0000 (+0000) Subject: add outcall support to nonexistant conferences (needs testing) X-Git-Tag: v1.0-beta1~976 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ca0aee975417646448dd4fba65ecee31285783b;p=thirdparty%2Ffreeswitch.git add outcall support to nonexistant conferences (needs testing) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4435 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 2c10384ab9..be115205ad 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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));