Hello all,
I just got my x100p card installed and working. Asterisk can talk to my regular PSTN phone line now. Yay… EXCEPT.
I have two numbers from my telco, one is distinctive ring. I’m trying to get Asterisk to route calls based on the ring pattern. I defined one context, “fxo”, to receive general calls; I have a second defined context “fxo-dr” but I haven’t linked it in yet in zapata.conf, as you’ll see.
Here’s what happens at verbose 10:
-
Calling non-distinctive number
– Starting simple switch on ‘Zap/1-1’
– Executing [s@fxo:1] NoOp(“Zap/1-1”, “call incoming”) in new stack -
Calling distinctive number
– Starting simple switch on ‘Zap/1-1’
[Jul 2 16:09:28] NOTICE[24831]: chan_zap.c:6351 ss_thread: Got event 18 (Ring Begin)…
[Jul 2 16:09:28] NOTICE[24831]: chan_zap.c:6351 ss_thread: Got event 2 (Ring/Answered)…
– Executing [s@fxo:1] NoOp(“Zap/1-1”, “call incoming”) in new stack
At this point I’m simply trying to figure out the correct ring cadence, but Asterisk isn’t even printing it. That also leads me to believe Asterisk won’t recognize the rings themselves if I did enter the cadences. The ring pattern is like “ring, really short pause, ring, long pause.”
I’ve got a slight suspicion that the pause between rings just isn’t long enough… I haven’t tried checking with my telco yet to see if I can select a pattern.
Here’s some more info:
My zapata.conf:
[channels]
language=en
context=fxo
signalling=fxs_ks
toneduration=100
usedistinctiveringdetection=yes
echocancel=yes
echocancelwhenbridged=yes
immediate=no
;echotraining=yes
;echotraining=800
;relaxdtmf=yes
rxgain=0.0
txgain=0.0
callerid=asreceived
busydetect=yes
busycount=4
;busypattern=500,500
hanguponpolarityswitch=yes
callprogress=yes
progzone=us
useincomingcalleridonzaptransfer=yes
ringtimeout=6000
;pulsedial=yes
;mohinterpret=default
;mohsuggest=default
channel => 1
Info from the kernel when loading the driver:
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.4.3
Zaptel Echo Canceller: MG2
ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ
11
wcfxo: DAA mode is 'FCC’
Found a Wildcard FXO: Wildcard X100P
Registered tone zone 0 (United States / North America)
Registered tone zone 0 (United States / North America)
Registered tone zone 0 (United States / North America)
Freed a Wildcard
Output from asterisk when starting up Zap:
== Parsing ‘/etc/asterisk/zapata.conf’: Found
– Registered channel 1, FXS Kewlstart signalling
– Automatically generated pseudo channel
lspci entry:
01:08.0 Communication controller: Motorola Wildcard X100P
Subsystem: Efar Microsystems Unknown device 0000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR-
Latency: 64 (250ns min, 32000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at d400 [size=256]
Region 1: Memory at ff8fe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=55mA PME(D0+,D1-,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Any help is appreciated. I can paste more configs/debug info if people tell me what would help.
Thanks