[asterisk-bugs] [Asterisk 0017431]: dialplan add failing to create context if context doesn't exist

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 1 09:25:31 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17431 
====================================================================== 
Reported By:                leearcher
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17431
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.7 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-01 02:54 CDT
Last Modified:              2010-06-01 09:25 CDT
====================================================================== 
Summary:                    dialplan add failing to create context if context
doesn't exist
Description: 
I was told that contexts will be created as needed when using the dialplan
add command but this doesn't seem to be the case.

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

I've tried it with 1.6.1.20 and 1.6.2.7.
====================================================================== 

---------------------------------------------------------------------- 
 (0122685) leearcher (reporter) - 2010-06-01 09:25
 https://issues.asterisk.org/view.php?id=17431#c122685 
---------------------------------------------------------------------- 
Tilghman Lesher [tlesher at digium.com] in the users group.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tilghman
Lesher
Sent: 19 May 2010 16:44
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Adding a context from the console

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.

--
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at:
www.digium.com & www.asterisk.org 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 09:25 leearcher      Note Added: 0122685                          
======================================================================




More information about the asterisk-bugs mailing list