[asterisk-bugs] [Asterisk 0011215]: extensions.conf looks for a [default] context, even if not defined in zapata.conf

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Nov 11 18:05:09 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11215 
====================================================================== 
Reported By:                ddougan
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   11215
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:            1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-10-2007 21:58 CST
Last Modified:              11-11-2007 18:05 CST
====================================================================== 
Summary:                    extensions.conf looks for a [default] context, even
if not defined in zapata.conf
Description: 
Although I can't find it documented anywhere (I have checked both editions
of TFOT, as well as searching the wiki), it appears that extensions.conf
requires a default context, even if the context defined in zapata.conf has
a different name.
====================================================================== 

---------------------------------------------------------------------- 
 ddougan - 11-11-07 18:05  
---------------------------------------------------------------------- 
The code I posted originally is my entire zapata.conf - I cleaned out the
remaining comments and sample code when I was trying to debug the problem.
Here it is again:

hudson:/etc/asterisk # more zapata.conf
[trunkgroups]
; Trunk groups are used for NFAS or GR-303 connections.

[channels]
;
; Default context
;
usedistinctiveringdetection=yes
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes
faxdetect=both

context=internal        ; Uses the [internal] context in extensions.conf
signalling=fxo_ks       ; Use FXO signalling for an FXS channel
channel => 1            ; Telephone attached to port 1

context=incoming        ; Incoming calls go to this context in
extensions.conf
signalling=fxs_ks       ; Use FXS signalling for an FXO channel
channel => 4            ; PSTN attached to port 4
hudson:/etc/asterisk #

I originally had the last three lines (context=incoming, etc.) prior to
the context=internal lines, and switched them after some snippet I read
while Googling. And just to confirm, I can make and receive PSTN calls OK. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-11-07 18:05  ddougan        Note Added: 0073500                          
======================================================================




More information about the asterisk-bugs mailing list