]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
underscores not dashes
authorBrian West <brian@freeswitch.org>
Tue, 8 Jul 2008 16:26:10 +0000 (16:26 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 8 Jul 2008 16:26:10 +0000 (16:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8929 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/autoload_configs/conference.conf.xml
src/mod/applications/mod_conference/mod_conference.c

index c17c436ec6460f8667377c14d0133a0dc5f1ee6c..ba63e21d89d39bd5ab30a9f7cf67ce9b9caf0908 100644 (file)
@@ -97,7 +97,7 @@
       <!-- Uncomment auto-record to toggle recording every conference call. -->
       <!-- Another valid value is   shout://user:pass@server.com/live.mp3   -->
       <!--
-      <param name="auto-record" value="/usr/local/freeswitch/sounds/conference/${conference-name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
+      <param name="auto-record" value="/usr/local/freeswitch/sounds/conference/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
       -->
     </profile>
 
index 84709d75c2db4dbfada6571b646ba00516c9e0e6..1a08de3a7f4f3bd4b45db7253e3e4558eaeb9219 100644 (file)
@@ -4274,7 +4274,7 @@ SWITCH_STANDARD_APP(conference_function)
                        goto done;
                }
 
-               switch_channel_set_variable(channel, "conference-name", conference->name);
+               switch_channel_set_variable(channel, "conference_name", conference->name);
 
                /* Set the minimum number of members (once you go above it you cannot go below it) */
                conference->min = 2;
@@ -4306,7 +4306,7 @@ SWITCH_STANDARD_APP(conference_function)
                                conference->pin = switch_core_strdup(conference->pool, dpin);
                        }
                
-                       switch_channel_set_variable(channel, "conference-name", conference->name);
+                       switch_channel_set_variable(channel, "conference_name", conference->name);
 
                        /* Set the minimum number of members (once you go above it you cannot go below it) */
                        conference->min = 1;
@@ -4317,7 +4317,7 @@ SWITCH_STANDARD_APP(conference_function)
                        /* Start the conference thread for this conference */
                        launch_conference_thread(conference);
                } else { /* setup user variable */
-                       switch_channel_set_variable(channel, "conference-name", conference->name);
+                       switch_channel_set_variable(channel, "conference_name", conference->name);
                }
 
                /* acquire a read lock on the thread so it can't leave without us */