<html>
<body>
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.<br><br>
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.<br><br>
Now a show channels shows me nothing. I don't know if it's supposed to
with no active calls or not:<br><br>
<dl>
<dd>*CLI> show channels
<dd>
Channel
Location
State
Application(Data)
<dd>0 active channels
<dd>0 active calls
</dl>A zap show channels shows me the channels though:<br><br>
<dl>
<dd> Chan Extension
Context
Language
MusicOnHold
<dd>
pseudo
incoming
<dd>
1
incoming
<dd>
2
incoming <br>
<br><br>
</dl>Here's my configs. Any help would be appreiciated.<br><br>
/etc/zaptel.conf
<dl>
<dd>span=1,1,0,esf,b8zs
<dd>fxsgs=1-2
<dd>loadzone=us
<dd>defaultzone=us
</dl>/etc/asterisk/zapata.conf
<dl>
<dd>[trunkgroups]
<dd>[channels]
<dd>usecallerid=no
<dd>hidecallerid=yes
<dd>callwaiting=no
<dd>threewaycalling=no
<dd>transfer=no
<dd>echocancel=yes
<dd>echotraining=yes
<dd>echotraining=800
<dd>context=incoming
<dd>signalling=fxs_gs
<dd>channel => 1
<dd>channel => 2
</dl>/etc/asterisk/extensions.conf
<dl>
<dd>[general]
<dd>static=yes
<dd>writeprotect=no
<dd>autofallthrough=yes
<dd>clearglobalvars=no
<dd>priorityjumping=no
<dd>[globals]
<dd>[dundi-e164-canonical]
<dd>[dundi-e164-customers]
<dd>[dundi-e164-via-pstn]
<dd>[dundi-e164-local]
<dd>include => dundi-e164-canonical
<dd>include => dundi-e164-customers
<dd>include => dundi-e164-via-pstn
<dd>[dundi-e164-switch]
<dd>switch => DUNDi/e164
<dd>[dundi-e164-lookup]
<dd>include => dundi-e164-local
<dd>include => dundi-e164-switch
<dd>[macro-dundi-e164]
<dd>exten => s,1,Goto(${ARG1},1)
<dd>include => dundi-e164-lookup
<dd>[iaxtel700]
<dd>exten =>
_91700XXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)
<dd>[iaxprovider]
<dd>[trunkint]
<dd>exten => _9011.,1,Macro(dundi-e164,${EXTEN:4})
<dd>exten => _9011.,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
<dd>[trunkld]
<dd>exten => _91NXXNXXXXXX,1,Macro(dundi-e164,${EXTEN:1})
<dd>exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
<dd>[trunklocal]
<dd>exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
<dd>[trunktollfree]
<dd>exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
<dd>exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
<dd>exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
<dd>exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
<dd>[international]
<dd>ignorepat => 9
<dd>include => longdistance
<dd>include => trunkint
<dd>[longdistance]
<dd>ignorepat => 9
<dd>include => local
<dd>include => trunkld
<dd>[local]
<dd>ignorepat => 9
<dd>include => default
<dd>include => parkedcalls
<dd>include => trunklocal
<dd>include => iaxtel700
<dd>include => trunktollfree
<dd>include => iaxprovider
<dd>[demo]
<dd>exten => 2,n,Goto(s,instruct)
<dd>exten => 1000,1,Goto(default,s,1)
<dd>exten => 1234,n,Macro(stdexten,1234,${CONSOLE})
<dd>exten => 8500,1,VoicemailMain
<dd>exten => 8500,n,Goto(s,6)
<dd>[default]
<dd>include => demo
<dd>[incoming]
<dd>exten => s,1,Answer()
<dd>exten => s,2,Playback(hello-world)
<dd>exten => s,3,Hangup()
</dl>What am I doing wrong? </body>
</html>