[Asterisk-Users] voicemail /w asterisk - voicemail() problems

Vahan Yerkanian vahan at arminco.com
Sun Sep 26 06:24:57 MST 2004


I've setup the voicemail that auths against the mysql db. Now, 
everything works ok, except voicemail() calls fail with

Sep 26 18:09:34 WARNING[157070336]: app_voicemail.c:1517 
leave_voicemail: No entry in voicemail config file for ''

all my users are in 'sip' voicemail context, but adding context to it: 
voicemail(@sip) doesn't help.. while if I put a vmbox # to it, it works 
that way: voicemail(1010 at sip).

here is my voicemail.conf:
--------------------------

[general]
format=wav|gsm
serveremail=asterisk
attach=yes
maxmessage=180
maxgreet=60
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
dbname = asteriskcdrdb          ; Name of database in your Mysql server
dbhost = localhost              ; Hostname of server
dbuser = astintvm               ; Username in MySQL
dbpass = xxxxxxxxxxxxx          ; Password for user in MySQL

and part of my extensions.conf:
-------------------------------

exten => 450,1,Answer
exten => 450,2,Wait(1)
exten => 450,3,VoicemailMain(@sip)
exten => 450,4,Wait(1)
exten => 450,5,Hangup

exten => 451,1,Answer
exten => 451,2,Wait(1)
exten => 451,3,VoiceMailMain(${CALLERIDNUM}@sip)
exten => 451,4,Wait(1)
exten => 451,5,Hangup

exten => 452,1,Answer
exten => 452,2,Zapateller
exten => 452,3,Voicemail()
exten => 452,4,Wait(1)
exten => 452,5,Hangup

The last extension, 452, is the one that doesn't work.


regards,
Vahan





More information about the asterisk-users mailing list