Problems with asterisk configuration

hi

well let me explain what I have gone through the past few days. I have installed successfully asterisk with ease actually. Then I executed the command “make samples” to install the configuration files. Since I am a newbie in asterisk, I used the same example as it is explained in the book “Asterisk The future of Telephony”. Please find the content of the both sip.conf and extensions.conf:


** SIP.CONF **


[general]
context=default
srvlookup= yes

[user1]
type=friend
secret=1234
qualify=yes
nat=yes
host=dynamic
canreinvite=no
context=internal

[user2]
type=friend
secret=1234
qualify=yes
nat=yes
host=dynamic
canreinvite=no
context=internal


** EXTENSIONS.CONF **


[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=yes
priorityjumping=yes
;#include “filename.conf”

[internal]
exten => 200,1,Dial(SIP/user1)
exten => 201,1,Dial(SIP/user2)

[incoming]
exten => s,1,Answer
exten => s,2,Background(enter-ext-of-person)
exten => 1,1,Playback(digits/1)
exten => 1,2,Goto(incoming,s,1)
exten => 2,1,Playback(digits/2)
exten => 2,2,Goto(incoming,s,2)

Yet instead of hearing the supposed audio file enter-ext-of-person, i hear nothing. I kept on changing the extensions file in order to test other features like voicemail… but nothing really happens. It seems to me that there is a default setting that asterisk reads instead of reading the extensions.conf file.
PLease I neeeeeeeeeeed urgent help
thanks in advance

do You have enter-ext-of-person.gsm (enter-ext-of-person.sln) file in
/var/lib/asterisk/sounds ?
if user1 or user2 can go to [incoming] you should add (for example )
extens => 300,1,goto(incoming|s|1)
in [internal] context

in incoming You have time for pressing 1 or 2 only when Background() is executin
when its done there should be hangup executed

check what CLI> is showing for more detail on whats going on when You make any telephone activity

Hey make it easy go grab FreePBX gui for Asterisk

aussievoip.com.au/wiki/index.php?page=FreePBX

Spend a hour reading and installing, you will love it.