[Asterisk-Users] Problem with processing channels

John Fulton jfulton at arctic.net
Fri Mar 24 19:33:53 MST 2006


I have Asterisk compiled and setup to use a TE110P trunked to a Mitel 
3300 PBX for testing. I overcame the module problems I was having and 
am to the point where I can see the trunk go offhook in zttool when I 
call it. I am following the examples in the O'Reilly book (yes, I'm 
using printed media, gives me something to read in the bathroom) to 
answer, play the "hello world" clip, and hang up.

Sofar I've been unsuccessful in anything other then seeing the trunk 
go live in zttool. I stripped the configs down to pretty much nothing 
and can't even get dial-tone. I know I'm talking to the trunk ok as 
when I dial and the trunk answers, and I run ztcfg while the call is 
active, I get a slight pop on the line.

Now a show channels shows me nothing. I don't know if it's supposed 
to with no active calls or not:

*CLI> show channels
Channel              Location             State   Application(Data) 

0 active channels
0 active calls
A zap show channels shows me the channels though:

    Chan Extension  Context         Language   MusicOnHold
  pseudo            incoming
       1            incoming
       2            incoming


Here's my configs. Any help would be appreiciated.

/etc/zaptel.conf
span=1,1,0,esf,b8zs
fxsgs=1-2
loadzone=us
defaultzone=us
/etc/asterisk/zapata.conf
[trunkgroups]
[channels]
usecallerid=no
hidecallerid=yes
callwaiting=no
threewaycalling=no
transfer=no
echocancel=yes
echotraining=yes
echotraining=800
context=incoming
signalling=fxs_gs
channel => 1
channel => 2
/etc/asterisk/extensions.conf
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no
[globals]
[dundi-e164-canonical]
[dundi-e164-customers]
[dundi-e164-via-pstn]
[dundi-e164-local]
include => dundi-e164-canonical
include => dundi-e164-customers
include => dundi-e164-via-pstn
[dundi-e164-switch]
switch => DUNDi/e164
[dundi-e164-lookup]
include => dundi-e164-local
include => dundi-e164-switch
[macro-dundi-e164]
exten => s,1,Goto(${ARG1},1)
include => dundi-e164-lookup
[iaxtel700]
exten => _91700XXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)
[iaxprovider]
[trunkint]
exten => _9011.,1,Macro(dundi-e164,${EXTEN:4})
exten => _9011.,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[trunkld]
exten => _91NXXNXXXXXX,1,Macro(dundi-e164,${EXTEN:1})
exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[trunklocal]
exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[trunktollfree]
exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[international]
ignorepat => 9
include => longdistance
include => trunkint
[longdistance]
ignorepat => 9
include => local
include => trunkld
[local]
ignorepat => 9
include => default
include => parkedcalls
include => trunklocal
include => iaxtel700
include => trunktollfree
include => iaxprovider
[demo]
exten => 2,n,Goto(s,instruct)
exten => 1000,1,Goto(default,s,1)
exten => 1234,n,Macro(stdexten,1234,${CONSOLE})
exten => 8500,1,VoicemailMain
exten => 8500,n,Goto(s,6)
[default]
include => demo
[incoming]
exten => s,1,Answer()
exten => s,2,Playback(hello-world)
exten => s,3,Hangup()
What am I doing wrong?  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060324/785c46f8/attachment.htm


More information about the asterisk-users mailing list