[Asterisk-Users] x100p card + dailing out

Pats1776 pats1776 at hotpop.com
Thu May 20 07:44:56 MST 2004


I think I have it configured properly.  ztcfg -vv shows it as channel 1 and
zttool shows it as OK.  But I can't dial out.

When I try, it shows it arrive in teh right stack, but then issues the
following errors:

channel.c:1676 ast_request: No channel type registered for '{PSTN-1}'
app_dial.c:554 dial_exec: Unable to create channel of type '{PSTN-1}'
= = Everyone is busy at this time

My config files are below:

sip.conf

[general]

port = 5060
bindaddr = 0.0.0.0
disallow=all
allow=gsm
allow=ulaw
allow=alaw
allow=G723.1
context=from-sip

[2000]
type=friend
username=2000
secret=xxxxxxxx
host=dynamic
mailbox=2000



extensions.conf

[general]
static=yes
writeprotect=yes

[globals]
PSTN-1=Zap/1

[from-sip]
exten => 2000,1,Dial(SIP/2000,20)
exten => 2000,2,Voicemail(u2000)
exten => 2000,102,Voicemail(b2000)
exten => 2000,103,Hangup

exten => 2999,1,VoicemailMain(${CALLERIDNUM})

include => to-pstn

[to-pstn]
exten => _1NXXNXXXXXX,1,Dial(${PSTN-1}/${EXTEN})
exten => _NXXNXXXXXX,1,Dial({PSTN-1}/1${EXTEN})


Can anyone help me out here?

Thanks,

Scott





More information about the asterisk-users mailing list