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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@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


-- 
_____________________________________________________________________
-- 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

Reply via email to