ZT_SPANCONFIG failed on span 1: Invalid argument (22)

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

ZT_SPANCONFIG failed on span 1: Invalid argument (22)

Postby piyush » Tue Oct 03, 2006 3:45 am

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
piyush
 
Posts: 25
Joined: Sat Sep 09, 2006 8:04 am

Postby gerski » Tue Oct 03, 2006 4:28 am

check your zaptel.conf and zapata.conf if the configuration is correct...

what are you using for T1? channelbank?
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby piyush » Wed Oct 04, 2006 1:09 pm

We are using standard DSL line with 512 kpbs. This is just for testing a couple of agents.
piyush
 
Posts: 25
Joined: Sat Sep 09, 2006 8:04 am

Postby gerski » Thu Oct 05, 2006 5:59 am

what do you use for timing? for testing purpose you can use X100P..
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby piyush » Thu Oct 12, 2006 11:25 pm

We are using X100P for timing and are getting the error mentioned above. Please advice.
piyush
 
Posts: 25
Joined: Sat Sep 09, 2006 8:04 am

Postby gerski » Fri Oct 13, 2006 4:42 am

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
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby piyush » Fri Oct 13, 2006 5:12 am

These instructions say that they are meant for T1...we are using standard DSL with 512kbps. Would the same configuration work for DSL?

Thanks
piyush
 
Posts: 25
Joined: Sat Sep 09, 2006 8:04 am

Postby gerski » Fri Oct 13, 2006 7:56 am

X100P is different from DSL...

DSL is internet... X100P is fxs port.
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby piyush » Fri Oct 13, 2006 12:43 pm

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
piyush
 
Posts: 25
Joined: Sat Sep 09, 2006 8:04 am

Postby gerski » Fri Oct 13, 2006 9:48 pm

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.
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am


Return to Support

Who is online

Users browsing this forum: No registered users and 120 guests