[asterisk-users] Asterisk not picking up incoming calls from TDM400P

Drew Gibson drew at oanda.com
Fri Jun 6 12:37:47 CDT 2008


Hi,

I am having some issues with a new server install in Singapore.

Outbound calls work fine.

Inbound calls are not picked up by Asterisk.

Zaptel 1.2.25 and Asterisk 1.2.28 both built from source.
libpri installed

wctdm and zaptel load without error

Jun  6 23:34:03 fs01 kernel: [211138.372933] Zapata Telephony Interface 
Registered on major 196
Jun  6 23:34:03 fs01 kernel: [211138.372937] Zaptel Version: 1.2.25
Jun  6 23:34:03 fs01 kernel: [211138.372943] Zaptel Echo Canceller: KB1
Jun  6 23:34:03 fs01 kernel: [211138.383639] Freshmaker version: 73
Jun  6 23:34:03 fs01 kernel: [211138.384053] Freshmaker passed register test
Jun  6 23:34:04 fs01 kernel: [211139.076180] Module 0: Installed -- AUTO 
FXO (FCC mode)
Jun  6 23:34:04 fs01 kernel: [211139.275847] Module 1: Installed -- AUTO 
FXO (FCC mode)
Jun  6 23:34:04 fs01 kernel: [211139.475514] Module 2: Installed -- AUTO 
FXO (FCC mode)
Jun  6 23:34:05 fs01 kernel: [211139.675182] Module 3: Installed -- AUTO 
FXO (FCC mode)
Jun  6 23:34:05 fs01 kernel: [211139.682518] Found a Wildcard TDM: 
Wildcard TDM400P REV I (4 modules)
Jun  6 23:34:08 fs01 kernel: [211142.686305] Registered tone zone 18 
(Singapore)
Jun  6 23:34:14 fs01 kernel: [211149.412565] -- Setting echo registers:
Jun  6 23:34:14 fs01 kernel: [211149.412990] -- Set echo registers 
successfully
Jun  6 23:34:14 fs01 kernel: [211149.413005] -- Setting echo registers:
Jun  6 23:34:14 fs01 kernel: [211149.413426] -- Set echo registers 
successfully
Jun  6 23:34:14 fs01 kernel: [211149.413435] -- Setting echo registers:
Jun  6 23:34:14 fs01 kernel: [211149.413848] -- Set echo registers 
successfully
Jun  6 23:34:14 fs01 kernel: [211149.413861] -- Setting echo registers:
Jun  6 23:34:14 fs01 kernel: [211149.414276] -- Set echo registers 
successfully
Jun  6 23:34:28 fs01 kernel: [211163.107241] Zaptel Transcoder support 
loaded


The one and only POTS line has been tuned with "fxotune and "fxotune -s" 
has been run.
ztmonitor shows incoming ring (volume peaks at 3-4000)

No, nothing, nadda, zero response from Asterisk.

Can anyone suggest a tool to help find the gap between zaptel and Asterisk?

regards,

Drew


zaptel.conf:-

fxsks=1-4
;(have tried fxsls=1-4 but no difference)
loadzone=sg
defaultzone=sg


zapata.conf:-

[channels]
group=1
context=incoming
callprogress=no
rxgain=2.0
txgain=0.0
immediate=no
usecallerid=yes
callerid=asreceived
signalling=fxs_ks
relaxdtmf=yes
pickupgroup=1
faxdetect=incoming

channel => 1


indications.conf:-

[general]
country=sg

<---- Other countries snipped --->

[sg]

; Singapore section borrowed from 
http://csusap.csu.edu.au/~whaase01/itc308/asterisk/indications.conf
description = Singapore
; Singapore
; Reference: 
http://www.ida.gov.sg/idaweb/doc/download/I397/ida_ts_pstn1_i4r2.pdf
; Frequency specs are:   425 Hz +/- 20Hz; 24 Hz +/- 2Hz; modulation 
depth 100%; SIT +/- 50Hz
ringcadence = 400,200,400,2000
dial        = 425
ring        = 425*24/400,0/200,425*24/400,0/2000     ; modulation should 
be 100%, not 90%
busy        = 425/750,0/750
congestion  = 425/250,0/250
callwaiting = 425*24/300,0/200,425*24/300,0/3200
stutter     = 
!425/200,!0/200,!425/600,!0/200,!425/200,!0/200,!425/600,!0/200,!425/200,!0/200,!425/600,!0/200,!425/200,!0/200,!425/600,!0/200,425
info        = 950/330,1400/330,1800/330,0/1000       ; not currently in 
use acc. to reference
dialrecall  = 425*24/500,0/500,425/500,0/2500        ; unspecified in 
IDA reference, use repeating Holding Tone A,B
record      = 1400/500,0/15000                       ; unspecified in 
IDA reference, use 0.5s tone every 15s
; additionally defined in reference
nutone      = 425/2500,0/500
intrusion   = 425/250,0/2000
warning     = 425/624,0/4376                         ; end of period 
tone, warning
acceptance  = 425/125,0/125
holdinga    = !425*24/500,!0/500                     ; followed by holdingb
holdingb    = !425/500,!0/2500


[incoming]
; Added Answer statement for troubleshooting
exten => s,1,Answer()

include => office-incoming
include => internal

[office-incoming]
; OANDA Office incoming calls
ignorepat => 9
exten => s,1,Wait,1                     ; Waiting a little longer for CID
exten => s,n,Answer                     ; Answer the line
exten => s,n,Set(TIMEOUT(digit)=2)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n,Set(TIMEOUT(absolute)=14400)
;exten => s,n,Goto(ivr_menu)

<----- rest of extensions.conf snipped  ----->

-- 
Drew Gibson

Systems Administrator
OANDA Corporation
www.oanda.com




More information about the asterisk-users mailing list