[Asterisk-Users] tdm dialout delay
Diyanat Ali
diyanat at hotmail.com
Sat Dec 31 14:08:31 MST 2005
Hello!
I am using asterisk 1.2.1 with a digium TDM card and trying to reduce the
dialout delay to 1/2 secs at the most, i could bring it down from 6/7
seconds to 3/4 seconds by tweaking the config and tone/zone/dtmf settings in
the source, still this is not acceptable as the regular pstn phone takes
less than 1 sec to ring on the called number
Dec 30 03:51:44 VERBOSE[13144] logger.c: -- Executing
Dial("SIP/1010-3211", "Zap/g0/011234567") in new stack
Dec 30 03:51:44 DEBUG[13144] rtp.c: Channel 'Zap/1-1' has no RTP, not doing
anything
Dec 30 03:51:44 DEBUG[13144] chan_zap.c: Dialing '011234567'
Dec 30 03:51:44 DEBUG[13004] channel.c: Avoiding initial deadlock for
'Zap/1-1'
Dec 30 03:51:44 DEBUG[13004] channel.c: Avoiding initial deadlock for
'Zap/1-1'
Dec 30 03:51:44 DEBUG[13004] channel.c: Avoiding initial deadlock for
'Zap/1-1'
Dec 30 03:51:44 VERBOSE[13144] logger.c: -- Called g0/011234567
1 sec delay ?
Dec 30 03:51:45 DEBUG[13144] chan_zap.c: Exception on 16, channel 1
Dec 30 03:51:45 DEBUG[13144] chan_zap.c: Got event Hook Transition
Complete(12) on channel 1 (index 0)
3 secs delay ?
Dec 30 03:51:48 DEBUG[13144] chan_zap.c: Exception on 16, channel 1
Dec 30 03:51:48 DEBUG[13144] chan_zap.c: Got event Dial Complete(9) on
channel 1 (index 0)
Dec 30 03:51:48 DEBUG[13144] chan_zap.c: Enabled echo cancellation on
channel 1
Dec 30 03:51:48 VERBOSE[13144] logger.c: -- Zap/1-1 answered
SIP/1010-3211
[root at asterisk1 asterisk]# ztcfg -vvv
Zaptel Version: SVN-trunk-r880M
Echo Canceller: KB1
Configuration
====================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)
4 channels configured.
zaptel.conf
# Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1"
fxsks=1
fxsks=2
fxsks=3
fxoks=4
loadzone = kr
defaultzone = kr
zapata.conf
[channels]
language=en
loadzone =kr
progzone =kr
signalling=fxs_ks
context=from-pstn
group=0
channel => 1
channel => 2
channel => 3
signalling=fxo_ks
context = from-internal
group=1
channel => 4
usecallerid=yes
callerid=asreceived
hidecallerid=no
callwaiting=yes
usecallingpres=yes
;callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=400
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
faxdetect=incoming
busydetect=no
hanguponpolarityswitch=yes
answeronpolarityswitch=yes
extensions.conf entry
exten => s,1,Dial(Zap/g0/${EXTEN:1},20,tr)
exten => s,2,Hangup()
More information about the asterisk-users
mailing list