]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add outcall support to nonexistant conferences (needs testing)
authorAnthony Minessale <anthony.minessale@gmail.com>
Sat, 3 Mar 2007 01:08:08 +0000 (01:08 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sat, 3 Mar 2007 01:08:08 +0000 (01:08 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4435 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index 2c10384ab9d9ab94d7b2ced92f74f0f25132b5e7..be115205adec6eb4c0ef796323f51c0765bf6189 100644 (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));