Hi, guys. It’s my first time working with Asterisk and I’m facing some problems.
Softphone 100:
Account Name: 100
SIP Server:
Username: 100
Domain:
Login: 100
Password: senha100
Display Name: Vegeta
Voicemail Number: 500
Softphone 200:
Account Name: 200
SIP Server:
Username: 200
Domain:
Login: 200
Password: senha200
Display Name: Kakaroto
Voicemail Number: 500
I’m trying to call 100 from Vegeta, but I always get this error:
[Oct 23 11:20:46] WARNING[3776][C-0000000b]: pbx.c:2925 pbx_extension_helper: No application ‘VoiceMail’ for extension (INTERNO, 100, 2)
What’s wrong? My Asterisk settings are:
sip.conf:
[general]
allowguest=no
srvlookup=no
udpbindaddr=0.0.0.0
tcpenable=no
canreinvite = no
dtmfmode=auto
[ramal-voip](!)
type=friend
context=INTERNO
host=dynamic
disallow=all
allow=ulaw
allow=alaw
allow=g729
[100](ramal-voip)
secret=senha100
callerid=“Vegeta” <100>
[200](ramal-voip)
secret=senha200
callerid=“Kakaroto” <200>
extensions.conf:
[general]
[INTERNO]
exten => 500,1,VoiceMailMain()
exten => 500,2,HangUp()
exten => 500,3,PlayBack(vm-goodbye)
exten => 500,4,HangUp()
exten => 100,1,Dial(SIP/100,5)
exten => 100,2,VoiceMail(100)
exten => 200,1,Dial(SIP/200)
voicemail.conf:
[general]
format=wav
maxmsg=100
maxsecs=60
minsecs=3
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
[default]
100 => 666,Son Goku,son.goku@example.com