AOA,
I am getting below message after running
# /sbin/ztcfg -vv
Zaptel Configuration
======================
Channel map:
Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
2 channels configured.
Changing signalling on channel 1 from Unused to FXO Kewlstart
ZT_CHANCONFIG failed on channel 1: Invalid argument (22)
Did you forget that FXS interfaces are configured with FXO signalling
and that FXO interfaces use FXS signalling?
I am sure this is main cause not running my Asterisk server.
any help or suggestion in this regard is highly appreciated.
Thanks
Numan Khan
Zaptel error! any one to reply
-
- Naik
- Posts: 87
- Joined: Tue Mar 06, 2007 4:58 am
- Location: Karachi
- Contact:
-
- Lance Naik
- Posts: 19
- Joined: Wed Aug 01, 2007 10:29 am
- Location: San Jose CA United States
- Contact:
Hi rahsi thanks for the response,
Here are my zapata.conf file
context=internal ;user the context in extensions.conf
signalling=fxo_ks ;use FXO signalling for FXx challnel
channel=>1 ;Telephone attached to port 1
context=incoming ;Incoming calls go to [incoming] in extensions.conf
signalling=fxs_ks ;use this to signal for fxo channel
channel=>2 ; PSTN attached to port 2
Please have a look and do let me know your recommandation.
Thanks!
Numan
Anitwindow Too
Here are my zapata.conf file
context=internal ;user the context in extensions.conf
signalling=fxo_ks ;use FXO signalling for FXx challnel
channel=>1 ;Telephone attached to port 1
context=incoming ;Incoming calls go to [incoming] in extensions.conf
signalling=fxs_ks ;use this to signal for fxo channel
channel=>2 ; PSTN attached to port 2
Please have a look and do let me know your recommandation.
Thanks!
Numan
Anitwindow Too
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear numan82,
Salam,
Edit your /etc/zaptel.conf
Edit your /etc/asterisk/zapata.conf
FYI, http://www.automated.it/guidetoasterisk.htm
Best Regards.
Salam,
Edit your /etc/zaptel.conf
Code: Select all
loadzone=us
defaultzone=us
fxoks=1
channels=1
Code: Select all
[channels]
busydetect=1
busycount=1
relaxdtmf=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
usecallerid=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
pickupgroup=1
immediate=no
context=default
signalling=fxo_ks
callerid=Asterisk
channel=1
Best Regards.
Farrukh Ahmed
-
- Lance Naik
- Posts: 19
- Joined: Wed Aug 01, 2007 10:29 am
- Location: San Jose CA United States
- Contact:
Dear Farruak Ahmed
Salaam,
After editing the specified files with your provided code, I am getting this following error for
tone, please advise on this
[root@192 ~]# /sbin/ztcfg -vv
Notice: Configuration file is /etc/zaptel.conf
line 9: Cannot get number of tones for channel 1
line 9: Cannot init tones for channel 1
2 error(s) detected
Salaam,
After editing the specified files with your provided code, I am getting this following error for
tone, please advise on this
[root@192 ~]# /sbin/ztcfg -vv
Notice: Configuration file is /etc/zaptel.conf
line 9: Cannot get number of tones for channel 1
line 9: Cannot init tones for channel 1
2 error(s) detected
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear numan82,
Salam,
Zaptel.conf Should look like this.
Zapata.conf should look like this.
Issue following command after replacing your files.
# ztcfg -vvv
Best Regards.
Salam,
Zaptel.conf Should look like this.
Code: Select all
loadzone=us
defaultzone=us
fxsks=1
Code: Select all
[channels]
busydetect=1
busycount=1
relaxdtmf=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
usecallerid=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
pickupgroup=1
immediate=no
context=default
signalling=fxo_ks
callerid=Asterisk
channel=1
# ztcfg -vvv
Best Regards.
Farrukh Ahmed