]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add 'anonymous caller' to vm macro say_phone_number
authorMichael S Collins <msc@freeswitch.org>
Tue, 16 Jul 2013 18:40:36 +0000 (11:40 -0700)
committerMichael S Collins <msc@freeswitch.org>
Tue, 16 Jul 2013 18:40:36 +0000 (11:40 -0700)
conf/vanilla/lang/en/vm/sounds.xml

index fdef472a5b6e9a4e7a60e0675ea91eeb6d96aa83..042361cb4c5d359d9f9d97b414f9f8f08f70e97b 100644 (file)
   <macro name="voicemail_say_phone_number">
     <input pattern="^000|^$|^[Aa]non|^[Pp]rivate" break_on_match="true">
       <match>
-        <!-- add 'anonymous caller' sound here -->
+        <action function="play-file" data="ivr/ivr-this_is_a_call_from.wav"/>
+        <action function="execute" data="sleep(100)"/>
+        <action function="play-file" data="ivr/ivr-anonymous_caller.wav"/>
+        <action function="execute" data="sleep(500)"/>
       </match>
     </input>
     <input pattern="^(.*)$">