[Freeswitch-users] correct method to play an audio file in a call originated from Freeswitch to a mobile number

Aqs Younas aqsyounas at gmail.com
Fri Aug 26 18:46:03 MSD 2016


Try this.

esl command = ""originate " + gateway + "+91" + phone_number + "  " + 4441

<extension name="ivr_demo">
      <condition field="destination_number" expression="^4441$">
  <action application="wait_for_answer"/>
                 <action application="playback" data="/usr/local/freeswitch/
recordings/file.wav"/>
<action application="sleep" data="1000"/>
</condition>
</extension>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160826/89094c2c/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list