Call files - quick question!

Hi all,

I am very new to asterisk and learning very quickly!

I have figured out through tutorials that if I want to trigger a call to an extension, I simply drop a .call file into /var/spool/asterisk/outgoing

Lets say I want the call to call ext 222 and connect it to ext 333 when answered, I can do this quite easily by setting…
Channel: Local/222
Extension: 333

However, suppose I wanted to have the caller dropped into an IVR menu rather than directed to an extension/specific number, how would I do this? I have looked around at options and cant figure it out!! Help!!

Thanks,
Jab

Hi.

Just creat an extension that points to the IVR. Use Goto to do this.

Ian

[quote=“ianplain”]Hi.

Just creat an extension that points to the IVR. Use Goto to do this.

Ian[/quote]

Hi Ian,

Thanks a million for the advice. Whereas I understand the theory of what you are saying, I am afraid that I am a little to new with Asterisk to understand exactly what I need to do to achieve what you suggest!

I am currently searching for dial plan tutorials as I am guessing that this is what I need to learn?

However, to help me a long, could you be a little more verbose on what I would need to do and to what?!

Thanks again,
Jab

Just add a context voicemenu to your extensions.conf

[voicemenu_example]

exten => s,1,Background(<name_of_voicemenufile> ; press 1 for sales, 2 for etc. etc.
exten => 1,1,PlayBack (beep)

exten => 2,1,PlayBack(beep)
exten => 2,2,PlayBack(beep)

exten => 3,1,PlayBack(beep)
exten => 3,2,PlayBack(beep)
exten => 3,3,PlayBack(beep)

just add
context: voicemenu_example
extension: s
priority: 1

to your call file and you are up and running.

This is just a pretty useless example but I hope it helps.

Excellent, thanks so much for the help. I will try this out later!