[Asterisk-Users] outbound calls not working
Ken McKittrick
klmac at usadatanet.net
Mon Apr 14 05:54:40 MST 2003
Hello
Thanks everyone for the tips so far. I've got the Cisco 7960's updated
and working much better. Inbound works and phone to phone works.
As far as I can tell outbound calls are not getting processed properly.
Here's the error.
Called g1/4261600
-- Channel 1, span 1 got hangup
== No one is available to answer at this time
-- Hungup 'Zap/1-1'
Here's my zapata.conf
[channels]
;
; Default language
context=default
switchtype=national
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;
; PRI config
switchtype = national
channel => 1-23
This is a snippet of extensions.conf, the rest of the file is standard.
; lines just contains extensions for local users. It is included from
; both "default" and "localusers".
[lines]
exten => 3155796503,1,Macro(stdexten,6503,SIP/6503)
exten => 3155796521,1,Macro(stdexten,6521,SIP/6521)
exten => 6503,1,Macro(stdexten,6503,SIP/6503)
exten => 6521,1,Macro(stdexten,6521,SIP/6521)
exten => 6565,1,Macro(stdexten,6565,SIP/6565)
exten => 666,1,Macro(stdexten,666,SIP/666)
; add additional extensions here, format for NUMBER would be:
; exten => NUMBER,1,Macro(stdexten,NUMBER,SIP/NUMBER)
exten => 8888,1,VoicemailMain
exten => 8888,2,Hangup
exten => 8889,1,Answer
exten => 8889,2,Echo
exten => 8889,3,Hangup
; localusers is the context that users on local phones will come into.
They
; can either dial local extensions or outside numbers.
[local]
include => lines
include => parkedcalls
include => international
exten => i,1,Answer
exten => i,2,Playback(invalid) ; "That's not valid, try again"
exten => i,3,Hangup
exten => t,1,Hangup
; default is the context outside callers will come into. The "lines"
; context allows callers to connect to our local users. The "s"
extension
; makes an announcement when callers dial in.
[default]
include => lines
include => parkedcalls
include => international
; exten => 3155796503,1,Goto,10
; exten => 3155796521,1,Goto,10
exten => i,10,Answer
exten => i,20,Playback(invalid) ; "That's not valid, try again"
exten => i,30,Hangup
exten => t,1,Hangup
Thanks
Ken McKittrick
Network Engineer
USADatanet
More information about the asterisk-users
mailing list