hello, when I insert my line in the module fxo the line is busy. I don’t understand why.
extension.conf :
[general]
static = yes
writeprotect = no
[globals]
CONSOLE = Console/dsp
IAXINFO = guest
TRUNK = Zap/g2
TRUNKMSD = 1
[default]
[001]
include => record-out
[record-out]
exten => _X.,1,Set(DYNAMIC_FEATURES=automon) ; enable One-touch
exten => _X.,2,Set(CALLFILENAME=from-${EXTEN:0}-${STRFTIME(${EPOCH},%d%m%Y-%H%M%S)})
exten => _X.,3,Monitor(wav,${CALLFILENAME},m)
exten => _X.,4,Dial(SIP/${EXTEN:0}@voipstunt,30,wW)
exten => _X.,5,Congestion
exten => _X.,104,Congestion
;exten => _X.,1,Dial(Zap/2/${EXTEN:1})
;exten => _X.,2,Congestion
[from-zap]
exten => _X.,1,Dial(Zap/2/${EXTEN:1})
;exten => s,1,Dial(Zap/2/${EXTEN:1)
###################################
zapata.conf:
[trunkgroups]
; define any trunk groups
; hardware channels
[channels]
; default
relaxdtmf=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
usecallerid=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
busydetect=1
busycount=4
; define channels
signalling=fxs_ks
language=it
context=from-zap
channel => 2
immediate=no
signalling=fxo_ks
language=it
context=record-out
channel => 1
#######################################
zapatel.conf:
loadzone=it
defaultzone=it
fxoks=1
fxsks=2
########################################
asterisk -R -x 'zap show channels’
Chan Extension Context Language MusicOnHold
pseudo record-out it
1 record-out it
2 from-zap it
Verbosity is at least 4
########################################
uname -a
Linux 2.6.18-6-686 #1 SMP Thu Oct 9 15:52:18 UTC 2008 i686 GNU/Linux
asterisk -V
Asterisk 1.2.13
ztcfg -vvvv
Zaptel Version: SVN-branch-1.4-r4571
Echo Canceller: MG2
Configuration
Channel map:
Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
2 channels to configure.
########################################
Where is the mistake.
I incoming to think that the module is broke.
Do you have any idea?
Thank’s