Music instead of Ring Ring

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

Hello,

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.

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

Please suggest