Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
drew at oanda.com
Guest





PostPosted: Fri Jun 06, 2008 12:37 pm    Post subject: [asterisk-users] Asterisk not picking up incoming calls from Reply with quote

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
Back to top
tnelson at rockbochs.com
Guest





PostPosted: Fri Jun 06, 2008 12:55 pm    Post subject: [asterisk-users] Asterisk not picking up incoming calls from Reply with quote

It looks like you may be missing a context declaration right after your "channel => 1" line. Try adding "context=incoming" right after that.

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105

----- Original Message -----
From: "Drew Gibson" <drew at oanda.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Friday, June 6, 2008 12:37:47 PM GMT -06:00 US/Canada Central
Subject: [asterisk-users] Asterisk not picking up incoming calls from TDM400P

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


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
drew at oanda.com
Guest





PostPosted: Fri Jun 06, 2008 1:36 pm    Post subject: [asterisk-users] Asterisk not picking up incoming calls from Reply with quote

Nope, didn't help.

Doesn't the context declaration come *before* the channel assignment in
zapata.conf?
It's working that way in our main Asterisk server.

regards,

Drew

Tim Nelson wrote:
Quote:
It looks like you may be missing a context declaration right after your "channel => 1" line. Try adding "context=incoming" right after that.

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105

----- Original Message -----
From: "Drew Gibson" <drew at oanda.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Friday, June 6, 2008 12:37:47 PM GMT -06:00 US/Canada Central
Subject: [asterisk-users] Asterisk not picking up incoming calls from TDM400P

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
Back to top
tnelson at rockbochs.com
Guest





PostPosted: Fri Jun 06, 2008 1:46 pm    Post subject: [asterisk-users] Asterisk not picking up incoming calls from Reply with quote

You are correct... my mistake. :-/

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105

----- Original Message -----
From: "Drew Gibson" <drew at oanda.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Friday, June 6, 2008 1:36:13 PM GMT -06:00 US/Canada Central
Subject: Re: [asterisk-users] Asterisk not picking up incoming calls from TDM400P

Nope, didn't help.

Doesn't the context declaration come *before* the channel assignment in
zapata.conf?
It's working that way in our main Asterisk server.

regards,

Drew

Tim Nelson wrote:
Quote:
It looks like you may be missing a context declaration right after your "channel => 1" line. Try adding "context=incoming" right after that.

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105

----- Original Message -----
From: "Drew Gibson" <drew at oanda.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Friday, June 6, 2008 12:37:47 PM GMT -06:00 US/Canada Central
Subject: [asterisk-users] Asterisk not picking up incoming calls from TDM400P

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


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
drew at oanda.com
Guest





PostPosted: Fri Jun 06, 2008 1:53 pm    Post subject: [asterisk-users] Asterisk not picking up incoming calls from Reply with quote

It's the thought that counts! Smile
Tim Nelson wrote:
Quote:
You are correct... my mistake. :-/

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105

----- Original Message -----
From: "Drew Gibson" <drew at oanda.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Friday, June 6, 2008 1:36:13 PM GMT -06:00 US/Canada Central
Subject: Re: [asterisk-users] Asterisk not picking up incoming calls from TDM400P

Nope, didn't help.

Doesn't the context declaration come *before* the channel assignment in
zapata.conf?
It's working that way in our main Asterisk server.

regards,

Drew



Tim Nelson wrote:

Quote:
It looks like you may be missing a context declaration right after your "channel => 1" line. Try adding "context=incoming" right after that.

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105

----- Original Message -----
From: "Drew Gibson" <drew at oanda.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Friday, June 6, 2008 12:37:47 PM GMT -06:00 US/Canada Central
Subject: [asterisk-users] Asterisk not picking up incoming calls from TDM400P

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
Back to top
eric at fnords.org
Guest





PostPosted: Fri Jun 06, 2008 2:26 pm    Post subject: [asterisk-users] Asterisk not picking up incoming calls from Reply with quote

Correct. The previous poster was wrong.

Drew Gibson wrote:
Quote:
Nope, didn't help.

Doesn't the context declaration come *before* the channel assignment in
zapata.conf?
It's working that way in our main Asterisk server.


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
Back to top
noahisaacmiller at gma...
Guest





PostPosted: Fri Jun 06, 2008 3:09 pm    Post subject: [asterisk-users] Asterisk not picking up incoming calls from Reply with quote

Hi Drew -

I really don't know anything about how phone lines work in Singapore,
but maybe you could try using ground start signaling (fxsgs)?
- Noah
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services