[asterisk-users] Adding a context from the console
Danny Nicholas
danny at debsinc.com
Thu May 27 14:05:20 CDT 2010
I assume this patch is for 1.6X since I find no code similar to this in
1.4.30?
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tilghman
Lesher
Sent: Thursday, May 27, 2010 1:15 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Adding a context from the console
On Thursday 27 May 2010 03:55:05 Lee Archer wrote:
> On Wednesday 19 May 2010 16:44 Tilghman Lesher wrote:
> > On Wednesday 19 May 2010 02:28:02 Lee Archer wrote:
> > > Hi, is it possible to add a context from the console using the
> > > dialplan command?
> >
> > Yes, just add an extension to it. The context will be created as
> > needed.
>
> Hi, this didn't seem to work. Is there something I am missing?
>
> dialplan add extension 1234,1,NoOp,hello into default
> Extension '1234,1,NoOp,hello' added into 'default' context
> -- Added extension '1234' priority 1 to default (0x8e8f520)
>
> dialplan add extension 1234,1,NoOp,hello into test
> Failed to add '1234,1,NoOp,hello' extension into 'test' context
File a bug on this. The patch is as simple as (attached).
--
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list