One thought on “Asterisk Play a file while calling for curl

  • February 18, 2014 at 1:58 pm
    Permalink

    You can this as below example:

    exten => test,1,Answer()
    same => n,StartMusicOnHold()
    same => n,Wait(20) ; Do processing here.
    same => n,StopMusicOnHold()
    same => n,Hangup()

    Also your music on hold configuration will live /etc/asterisk/musiconhold.conf — if you install the sample configuration, it will be there with documentation inline.

Leave a Reply