I installed the asterisk following the steps in Asterisk: The Future of Telephony and installed the libpri-1.4, the zaptel-1.4 and late the asterisk-1.4 the current versions. When a dial any extension asterisk ignored the dialplan and establish the call. Like example I try to use an easy configuration like this:
;extensions.conf
exten => 1,1,Answer( )
exten => 1,2,Playback(/var/lib/asterisk/sounds/vm-nobodyavail)
exten => 1,3,Hangup( )
;sip.conf
[general]
context=default
bindport=5060
bindaddr=0.0.0.0
domain=midominio.com.cu
disallow=all
allow=ulaw
allow=ilbc
musicclass=default
language=en
sipdebug=no
canreinvite=no
nat=no
srvlookup=no
qualify=yes
;contexto Damian
[8701]
type=friend
username=8701
callerid=“Damian Alfonso”<8701>
secret=8701
host=dynamic
When I dial 1 the X-lite show the message “Call established”, and do not play the “enter-ext-of-person”, but in the console mode I have the message:
– Executing [1@CIMEX:2] Playback(“SIP/8202-081efc58”, “/var/lib/asterisk/sounds/vm-nobodyavail”) in new stack
– <SIP/8202-081efc58> Playing ‘/var/lib/asterisk/sounds/vm-nobodyavail’ (language ‘en’)
But don’t play ‘/var/lib/asterisk/sounds/vm-nobodyavail’, and don’t hangup
I try with many application but I have the same result, do not work, please help me.