]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add phrase macros for '<person> has joined/left the conference'
authorMichael S Collins <msc@freeswitch.org>
Fri, 9 Sep 2011 17:02:52 +0000 (10:02 -0700)
committerMichael S Collins <msc@freeswitch.org>
Fri, 9 Sep 2011 17:02:52 +0000 (10:02 -0700)
conf/lang/en/ivr/sounds.xml

index e436e294a37a46391739ef34d3536223b6844abb..b5ccead13ae01fbb30c057f2390b12b24b39bc08 100644 (file)
@@ -9,6 +9,26 @@
                </input>
        </macro>
 
+       <macro name="has_called_conf">
+               <input pattern="^(\d+)$">
+                       <match>
+                               <action function="play-file" data="$1"/>
+                <action function="sleep" data="100"/>
+                               <action function="play-file" data="conference/conf-has_joined.wav"/>
+                       </match>
+               </input>
+       </macro>
+       
+       <macro name="has_left_conf">
+               <input pattern="^(\d+)$">
+                       <match>
+                               <action function="play-file" data="$1"/>
+                <action function="sleep" data="100"/>
+                               <action function="play-file" data="conference/conf-has_left.wav"/>
+                       </match>
+               </input>
+       </macro>
+
     <macro name="enter_dest_number">
       <input pattern="^(.*)$">
         <match>