[asterisk-users] Storing voicemail in mysql
mark morreny
markmorreny at gmail.com
Sun Mar 23 13:22:18 CDT 2008
Dear friends,
Asterisk's voicemail functions work fine for me, but I am having difficulty
storing the voice messages inside mysql. My real-time CDR recording works
so I assume the odbc connection is fine.
The voicemail.conf I have is :
[general]
format = wav
attach = yes
dbuser=root
dbpass=sqlpass
dbhost=localhost
dbname=asterisk
odbcstorage=asterisk
odbctable=voicemessages
Asterisk shows no error message so I really don't know what's wrong there.
-- Saved useragent "wengo/v1/wengophoneng/wengo/rev12359/trunk/" for
peer 2001
-- Executing [100 at my-phones:1] VoiceMail("SIP/2001-08225788", "2000") in
new stack
-- <SIP/2001-08225788> Playing 'vm-intro' (language 'en')
-- ast_get_srv: SRV lookup for '_sip._udp.voipuser.org' mapped to host
sip.voipuser.org, port 5060
-- <SIP/2001-08225788> Playing 'beep' (language 'en')
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/2000/tmp/OayHq7 format: wav, 0x821ebd0
-- User hung up
The recording is still inside a file.
Is there anyway to fix it?
Thanks alot for your help.
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080324/ea3cc6a9/attachment.htm
More information about the asterisk-users
mailing list