Help: Asterix server receives call but no sound is received

Hi,

I have just started playing around with Asterisk-1.4.21.2. 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:

[globals]
[general]
[default]
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()
[incoming_calls]
[internal]
;test_config
exten => s,2,Answer()
exten => s,2,Echo()

[phones]
include => internal

The zaptel.conf file has the following important lines:

fxsks=2
loadzone=in
defaultzone=in

[My zone is India]

The zapata.conf file is:

[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 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.

Regards.
Sumeet

[internal]
;test_config
exten => s,2,Answer()
exten => s,2,Echo()

should be

[internal]
;test_config
exten => s,1,Answer()
exten => s,2,Echo()