Music instead of Ring Ring

Home » Asterisk Users » Music instead of Ring Ring
Asterisk Users No Comments


How can I achieve to play a music file instead of typical ring ring
(something like MusicOnHold)…

I have the following dialplan, the time when the user calls the context is
executed and the system calls both the user and I hear a Ringing sound.

exten => s,1,Dial(DAHDI/i1/USER2&DAHDI/i1/USER1,20,A(sound-file))

Please suggest