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
vgrskovic@optonline.net
2005-Mar-08 21:18 UTC
[Asterisk-Users] Dial() out and offer a menu system
Hi Rauol, Look at http://www.voip-info.org/wiki-Asterisk+auto-dial+out Basically you need to create a .CALL file in /var/spool/asterisk/outgoing Set the context in the .CALL file to [mainmenu] and your set.... -Vinko -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Raoul B?nisch Sent: Tuesday, March 08, 2005 9:13 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Dial() out and offer a menu system 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 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users