[Asterisk-Users] problems while dailing outside
David Peer
davidpeer at cs.huji.ac.il
Thu Feb 23 07:14:55 MST 2006
Hi,
I have problems while trying to dial from simple analog phone that
attached to my TDM400P card.
No matter which number i press i immediately get a congestion tone.
when calling from outside (e.g cellphone )to the line on port 4 and
pressing extension #123 everything works fine and i manage to make a
connection.
I've plugged on port(Zap) 4 the analog line and on port 1 the phone.
port 4 - FXO module
port 1 - FXS module
my simple conf:
*_zapata.conf:_*
[channels]
relaxdtmf=yes
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes
immediate=no
;define channels
context=internal
signalling=fxo_ks
channel => 1
context=incoming
signalling=fxs_ks
channel => 4
_*zaptel.conf:*_
fxoks=1
fxsks=4
loadzone=il
defaultzone=il
_*extensions.conf:*_
[globals]
DAVID=Zap/1
OUTBOUNDTRUNK=Zap/4
[incoming]
exten => s,1,Answer()
exten => s,2,Background(vm-enter-num-to-call)
exten => 123,1,Dial(${DAVID},10)
exten => 123,2,Playback(vm-nobodyavail)
exten => 123,3,Hangup()
exten => 123,102,Playback(tt-allbusy)
exten => 123,103,Hangup()
;exten => 1,1,Playback(digits/1) # repeat vocaly the digit that pressed
exten => i,1,Playback(pbx-invalid)
exten => i,2,Goto(incoming,s,1)
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup()
[intrnal]
include => outbound-local
exten => 123,1,Dail(${DAVID},10)
[outbound-local]
gnorepat => 9
exten => _9X.,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
exten => _9X.,2,Congestion()
exten => _9X.,123,Congestion()
Thanks
David
More information about the asterisk-users
mailing list