Help: Asterix server receives call but no sound is received


I have just started playing around with Asterisk- I am using Ubuntu 7.10 as the operating system for the asterix server.

I have configured an FXO port at the server end and inserted a PSTN cable in the port (channel 2). I am trying to place a call from my cell phone to the asterisk server, and vice versa, i.e. from the asterisk server to my cell phone.

After making the appropriate edits in the configuration files(which are listed below), I tried to make a call from my cell phone to the server, The server received the call. By default, I have configured the server to echo back the response, which means that if everything works fine, I should hear my voice back. However, I do not hear my voice. The messages at the asterisk console are:

[Jul 28 11:48:02] NOTICE[10255]: chan_zap.c:6387 ss_thread: Got event 18 (Ring Begin)…
[Jul 28 11:48:02] NOTICE[10255]: chan_zap.c:6387 ss_thread: Got event 2 (Ring/Answered)…
[Jul 28 11:48:03] ERROR[10255]: callerid.c:564 callerid_feed: No start bit found in fsk data.
[Jul 28 11:48:03] WARNING[10255]: chan_zap.c:6427 ss_thread: CallerID feed failed: Success
[Jul 28 11:48:03] WARNING[10255]: chan_zap.c:6527 ss_thread: CallerID returned with error on channel ‘Zap/2-1’

What might be going wrong?

My extensions.conf is:

exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
exten => s,2,Answer()
exten => s,2,Echo()

include => internal

The zaptel.conf file has the following important lines:


[My zone is India]

The zapata.conf file is:

; define any trunk groups
; hardware channels
; default
; define channels
context=incoming ; Incoming calls go to [incoming] in extensions.conf
signalling=fxs_ks ; Use FXS signaling for an FXO channel
channel => 2 ; PSTN attached to port 2

On a separate note, when my asterisk server starts, the following warning is generated

WARNING[10949]: res_smdi.c:1335 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.

Does this have to do anything with the problem?

Any help would be appreciated.


exten => s,2,Answer()
exten => s,2,Echo()

should be

exten => s,1,Answer()
exten => s,2,Echo()