]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
clear last_transferred conference when you exit the conference app
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 12 Jan 2011 22:46:27 +0000 (16:46 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 12 Jan 2011 22:46:33 +0000 (16:46 -0600)
src/mod/applications/mod_conference/mod_conference.c

index a9da20e9d95413f25cb138fb46aa1687e211b970..6bdb5680fc7588d068de4f242d2b1166c3eaa895 100644 (file)
@@ -5845,6 +5845,8 @@ SWITCH_STANDARD_APP(conference_function)
        if (rl) {
                switch_thread_rwlock_unlock(conference->rwlock);
        }
+
+       switch_channel_set_variable(channel, "last_transfered_conference", NULL);
 }
 
 /* Create a thread for the conference and launch it */