Page 1 of 1

ZT_SPANCONFIG failed on span 1: Invalid argument (22)

PostPosted: Tue Oct 03, 2006 3:45 am
by piyush
i had o/p of
root@local:~# ztcfg -v

Zaptel Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

24 channels configured.

ZT_SPANCONFIG failed on span 1: Invalid argument (22)


how can i solve this problem?

thanks

PostPosted: Tue Oct 03, 2006 4:28 am
by gerski
check your zaptel.conf and zapata.conf if the configuration is correct...

what are you using for T1? channelbank?

PostPosted: Wed Oct 04, 2006 1:09 pm
by piyush
We are using standard DSL line with 512 kpbs. This is just for testing a couple of agents.

PostPosted: Thu Oct 05, 2006 5:59 am
by gerski
what do you use for timing? for testing purpose you can use X100P..

PostPosted: Thu Oct 12, 2006 11:25 pm
by piyush
We are using X100P for timing and are getting the error mentioned above. Please advice.

PostPosted: Fri Oct 13, 2006 4:42 am
by gerski
please read scratch install, you need to configure this:

Digium/Clone X100P EXAMPLE:
Here is an example of a configuration where an X100P single FXO card is used for
zaptel timing and not used for calling:

NOTE: you can get an X100P through ebay for $10-$30 that will work with Asterisk

/etc/zaptel.conf:
loadzone=us
defaultzone=us
fxsks=1

/etc/asterisk/zapata.conf:
[trunkgroups]
[channels]
context=unused
signalling=fxs_ks
channel => 1

Added this to the rc.local file:
# Load zaptel drivers for x100p
modprobe zaptel
modprobe wcfxo

PostPosted: Fri Oct 13, 2006 5:12 am
by piyush
These instructions say that they are meant for T1...we are using standard DSL with 512kbps. Would the same configuration work for DSL?

Thanks

PostPosted: Fri Oct 13, 2006 7:56 am
by gerski
X100P is different from DSL...

DSL is internet... X100P is fxs port.

PostPosted: Fri Oct 13, 2006 12:43 pm
by piyush
I am aware of that. My question is that these instructions for X100P are given for people using T1. Would the people using X100P with DSL also need to follow the same instructions. Someone told us that we should not...just wanted to clarify. Thanks

PostPosted: Fri Oct 13, 2006 9:48 pm
by gerski
no, you can use X100P even if its DSL or T1 or E1..

T1 in scratch install is different.. it is T1 PRI (telco) not internet.. X100P is used for timing if you will use IAX,SIP telco instead of T1(24)/E1(32) PRI that used much higher digium card.