[Asterisk-Users] Dial() out and offer a menu system

Raoul Bönisch jkl345 at gmx.net
Tue Mar 8 19:12:58 MST 2005


Hello all!

I'd like my * to call out to somebody and offer the called party
a menu system. Everything should just be as if the called party
had initiated the call themselves.

This is my try:

exten => 100,1,Dial(Modem/g1:0555321)
exten => 100,2,Goto(mainmenu,s,1)

This doesn't really work, because the Dial cmd blocks further
execution until the called party hangs up.

Next try:

[macro-incom]
exten => s,1,Goto(mainmenu,s,1)

exten => 100,1,Dial(Modem/g1:0555321,7,gtTHM(incom))

Doesn't work, too. The line is just hung up by * I suppose.

How would I be able to do this?

Greetings!

	Raoul




More information about the asterisk-users mailing list