I really hate for my first post to be a question… especially one like this… I’m terribly sorry in advance.
I have a new install of Asterisk on a new computer for testing.
I am running the rPath PoundKey Linux distrobution with the accompanying Asterisk installation from its CD.
My Asterisk configuration has been done according to the instructions in the O’Reilly book (with the exception of the install, which was done by the PoundKey CD).
Currently, I am not using VoIP at all, everything is analog via a Digium TDM400P.
When I call the Asterisk server, it answers, but I get no sound back from the Echo( ) function that the O’Reilly book recommends using in your first FXO test. I tried using the Playback( ) function, with the same result… no sound.
I have followed the instructions on the Asterisk knowledge base pages concerning the issue, and I have also insured that the TDM400P is getting an IRQ that is not zero, and I have ensured, via zttools, that there are no IRQ misses, since that article mentioned that it could be an IRQ issue. According to /proc/interrupts, the TDM400P is sharing IRQ 5 with a USB controller… but I have no USB devices running, and, since I am not getting any IRQ misses, I don’t think this is the issue… but I could be wrong… have been before.
Anyway, here are the relevant config files, and my CLI output. Let me know if any of you have any ideas… it has me quite baffled.
/etc/zaptel.conf:
fxsks=4
loadzone=us
defaultzone=us
/etc/asterisk/zapata.conf:
[code][trunkgroups]
; define any trunk groups
[channels]
; hardware channels
; default
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes
; define channels
context=incoming ; Incoming calls go to [incoming] in extensions.conf
signalling=fxs_ks ; Use FXS signalling for an FXO channel
channel => 4 ; PSTN attached to port 4[/code]
/etc/asterisk/extensions.conf:
[incoming]
; incoming calls from the FXO port are directed to this context from zapata.conf
exten => s,1,Answer( )
exten => s,2,Wait(5)
exten => s,3,Playback(tt-monkeys)
exten => s,4,Hangup( )
CLI output when call comes in:
-- Starting simple switch on 'Zap/4-1'
-- Executing Answer("Zap/4-1", " ") in new stack
-- Executing Wait("Zap/4-1", "5") in new stack
-- Executing Playback("Zap/4-1", "tt-monkeys") in new stack
-- Playing 'tt-monkeys' (language 'en')
-- Executing Hangup("Zap/4-1", " ") in new stack
== Spawn extension (incoming, s, 4) exited non-zero on 'Zap/4-1'
-- Hungup 'Zap/4-1'
When I use the simpler dialplan that is recommended in the O’Reilly book:
/etc/asterisk/extensions.conf:
[incoming]
; incoming calls from the FXO port are directed to this context from zapata.conf
exten => s,1,Answer( )
exten => s,2,Echo( )
CLI output:
-- Starting simple switch on 'Zap/4-1'
-- Executing Answer("Zap/4-1", " ") in new stack
-- Executing Echo("Zap/4-1", " ") in new stack
== Spawn extension (incoming, s, 2) exited non-zero on 'Zap/4-1'
-- Hungup 'Zap/4-1'
when I use the dialplan with the “Playback( )” function, I get no playback.
when I use the dialplan with the “Echo( )” function, I get no echo.
any ideas?
thanks a lot in advance… and I sure hope that this hasn’t already been answered… I searched through the forums (and online) for about 3 hours before deciding to go ahead and post the question.
Oh, and let me know if you need any more info… I tried to post everything I could think of that you might need… but I may have missed something.