Hello friends, I'm trying to make a simple call from asterisk CLI, but is quite confuse i followed the information here: http://www.voip-info.org/wiki/view/Asterisk+CLI+dial and changed my extensions.conf like this: alsa.conf [general] autoanswer=no context=consolecontext extension=100 By the way, how do i know if my console is using the channel driver ALSA or OSS? then, in extensions.conf: [consolecontext] exten => 100,1,Dial($DEMO) And then, from the Asterisk CLI: many attempts: CLI> dial No such extension 's' in context 'default' CLI> dial 100 No such extension '100' in context 'default' What am i doing wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101021/bcba151c/attachment-0001.htm
_____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Dias Sent: Thursday, October 21, 2010 7:42 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] dialing from asterisk console? Hello friends, I'm trying to make a simple call from asterisk CLI, but is quite confuse i followed the information here: http://www.voip-info.org/wiki/view/Asterisk+CLI+dial and changed my extensions.conf like this: alsa.conf [general] autoanswer=no context=consolecontext extension=100 By the way, how do i know if my console is using the channel driver ALSA or OSS? then, in extensions.conf: [consolecontext] exten => 100,1,Dial($DEMO) And then, from the Asterisk CLI: many attempts: CLI> dial No such extension 's' in context 'default' CLI> dial 100 No such extension '100' in context 'default' What am i doing wrong? Dial from CLI works differently from regular Dial in the Dialplan. From what I can see, you are limited (1.4.30) to dialing extensions defined in the [default] context . Do "dialplan show default" and you'll see what you can dial. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101021/974108dc/attachment.htm
aparres at gmail.com
2010-Oct-21 13:30 UTC
[asterisk-users] dialing from asterisk console?
Try: dial 100 at consolecontext -----Original Message----- From: Danny Dias <ing.diasdanny at gmail.com> Sender: asterisk-users-bounces at lists.digium.com Date: Thu, 21 Oct 2010 14:41:47 To: Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users at lists.digium.com> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: [asterisk-users] dialing from asterisk console? -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users