Stuck with interactive voice menu

Hello everybody!
i just cant make such scheme:

incoming call - Answer()
|
Greeting
if you know extension dial it Playback(message)
|
wait for exten 3 sec - Waitexten(3)
|
here goes Dial1… - Dial(…) - How can i make aster to | send not to waiting tones but music??
|
after 10 seconds launches Dial2 - No success here - asterisk hangups…
|
If dial1 and dial2 did not answer
|
Launch dial 3 - same here - hangup :frowning:((

Can anyone please help me solving that?

HI
Can you tell me wiating tone means what as per ur config. do u getting silence at waitexten(3) or during Dial process or any other tone.& you want to avoid that?

Plz define clearly.

Amit

I think what you are asking is how to play music rather then the ringback tone while the caller is waiting for a person to answer. If that is what you are asking, it is easy. Use the m switch in the Dial command to play music.

From the online documentation:

m([class]) - Provide hold music to the calling party until a requested
       channel answers. A specific MusicOnHold class can be
       specified.

deleted …

[quote=“Matthew_kleinmann”]From the online documentation:

m([class]) - Provide hold music to the calling party until a requested
       channel answers. A specific MusicOnHold class can be
       specified.[/quote]

Hi Matthew, can you please provide the link to the online documentation you mentioned above? I need to search for MOH using streaming audio from any internet radio station to play music on hold.

Hello mazilo,

The online documentation is the documentation within asterisk. From the CLI you can both ask for help, and show the arguments for applications. I am not sure if it is possible to stream audio into music on hold. That might require some searching.

Thanks for reply :smile:
m([class]) doesnt work for me :frowning:

– Executing [22@office:1] Dial(“SIP/110-0824d0a8”, “SIP/22|20|tT|m([default])”) in new stack
– Called 22
– SIP/22-08251010 is ringing
vusic is not playing during the call

are there any examples how to use it?

This is a line out of working system of mine:

exten => s,n,Dial(${ARG1},20,m)

“SIP/22|20|tT|m([default])”) in new

you need to keep the options at one place you have the music setting in the place where asterisk expects an url

dial(sip/22|20|tTm) this way it will work don’t forget to answer the call first!