[Asterisk-bsd] Zaptel with Asterisk 1.0.7_7 Zaptel 0.10 does not give dialtone/needs extra steps to run

Marc marc+ast at milestonerdl.com
Wed Jul 27 09:56:20 CDT 2005


This card was 'working' on a single processor 5.2.1 box with 1.0.2 asterisk
and older driver.    (Where working is defined as I had dial tone, could do 
alot of trhe fuctions, but the card would cut me off in use)

I have moved the card to a dual processor machine:

CPI APIC Table: <VIA694 >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (468.25-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 603914240 (575 MB)
avail memory = 581230592 (554 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

And the card is seen thusly on boot up:

Zapata Telephony Interface Registered on major 196
FXS device: vendor=e159 device=1 subvendor=b100
wcfxs0: <Wildcard TDM400P REV E/F> port 0xd400-0xd4ff mem 0xda013000-0xda013fff 
irq 18 at device 13.0 on pci0
FXS Attach for wcfxs0: deviceID : 0xe159
Freshmaker version: 71
Freshmaker passed register test
Timeout waiting for calibration of module 0
Timeout waiting for calibration of module 0
Proslic Failed on Second Attempt to Auto Calibrate
Module 0: Installed -- MANUAL FXS
Timeout waiting for calibration of module 1
Timeout waiting for calibration of module 1
Proslic Failed on Second Attempt to Auto Calibrate
Module 1: Installed -- MANUAL FXS
Module 2: Installed -- AUTO FXO
Module 3: Installed -- AUTO FXO
Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules)


When I run asterisk 
   107  10:08   asterisk -v -d > zaptel.002
I get this result:

n_h323.so] => (The NuFone Network's Open H.323 Channel Driver)
  == Creating H.323 Endpoint
 == H.323 listener started
 [chan_zap.so] => (Zapata Telephony w/PRI)
Jul 25 10:08:13 WARNING[969]: chan_zap.c:927 zt_open: Unable to specify channel 
1: Device not configured
Jul 25 10:08:13 ERROR[969]: chan_zap.c:6501 mkintf: Unable to open channel 1: De
vice not configured
here = 0, tmp->channel = 1, channel = 1
Jul 25 10:08:13 ERROR[969]: chan_zap.c:10288 setup_zap: Unable to register chann
el '1'
Jul 25 10:08:13 WARNING[969]: loader.c:345 ast_load_resource: chan_zap.so: load_
module failed, returning -1
Jul 25 10:08:13 WARNING[969]: loader.c:440 load_modules: Loading module chan_zap
.so failed!

If I then take these steps (per history):

   107  10:08   asterisk -v -d > zaptel.002
   108  10:08   ls /usr/local/bin/z*
   109  10:08   ztcfg
   110  10:08   asterisk -v -d > zaptel.003

Asterisk then runs:

 [chan_h323.so] => (The NuFone Network's Open H.323 Channel Driver)
  == Creating H.323 Endpoint
  == H.323 listener started
 [chan_zap.so] => (Zapata Telephony w/PRI)
 [pbx_config.so] => (Text Extension Configuration)


Problem #2 - no dial tone

>From zapata.conf
signalling=fxo_ks
context=internal1
channel => 1

signalling=fxo_ks
context=internal2
channel => 2

signalling=fxs_ks
context=mainmenu1
channel => 3

signalling=fxs_ks
context=mainmenu2
channel => 4

Via cat ../zaptel.conf
fxoks=1-2
fxsks=3-4


And from  extensions.conf 

[internal1]
ignorepat => 9
exten => _.,1,Monitor(wav,${TIMESTAMP})
exten => _.,2,Dial(Zap/1/${EXTEN})
exten => _.,3 Congestion


[internal2]
ignorepat => 9
exten => _.,1,Dial(Zap/2/${EXTEN})
exten => _.,2 Congestion




More information about the Asterisk-BSD mailing list