[asterisk-users] music on hold

salaheddine elharit salah.elharit200 at gmail.com
Tue Oct 4 12:48:42 CDT 2011


i configure new music on hold like below in order to play music for outbond
calls

i want tp play a music until answer form customer

[default1]
mode=files
directory=/var/lib/asterisk/moh1

exten => 0678XXXXXX,1,Set(CALLERID(number)=520XXXXXX)
exten => 0678XXXXXX,n,MixMonitor(zap_g1_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))
exten => 0678XXXXXX,n,Dial(Zap/g1/${EXTEN},,m(default1))
exten => 0678XXXXXX,n,Hangup()


when i put the default music i can listen without issue but when i put
another music .wav Or gsm or Mp3
there is no music  there is just the ringing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111004/32e78713/attachment.htm>


More information about the asterisk-users mailing list