[asterisk-users] ZT_SPANCONFIG failed on span 1: Invalid argument (22)

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Oct 30 06:22:29 CDT 2007


On Tue, Oct 30, 2007 at 11:23:32AM +0100, Turbo Fredriksson wrote:
> I'm trying to load ztdummy on my Asterisk, running in a XEN
> domain.
> 
> I've modified the code to disable the use of an RTC.
> 
> I can load the zaptel module just fine, the ztdummy also 
> loads without problem. But when running ztcfg I get this
> error.
> 
> ----- s n i p -----
> graham:~# ztcfg -vvvv
> 
> Zaptel Version: 1.4.6
> Echo Canceller: MG2
> Configuration
> ======================
> 
> SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
> 
> Channel map:
> 
> Channel 01: Clear channel (Default) (Slaves: 01)
> Channel 02: Clear channel (Default) (Slaves: 02)
> Channel 03: D-channel (Default) (Slaves: 03)
> 
> 3 channels configured.
> 
> ZT_SPANCONFIG failed on span 1: Invalid argument (22)
> ----- s n i p -----
> 
> My /etc/zaptel.conf looks like this:
> 
> ----- s n i p -----
> loadzone=se
> defaultzone=se
> 
> span=1,1,3,ccs,ami
> bchan=1-2
> dchan=3
> ----- s n i p -----
> 
> 
> Any ideas?

Take a look at /proc/zaptel/1 

Any chance that this is ztdummy ?

You don't need a span line (or running ztcfg at all) for ztdummy.

And if you have zaptel hardware (that config imples BRI) you don't
really need ztdummy.

-- 
               Tzafrir Cohen       
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list