[asterisk-users] No audio playing back voicemail from odbc

Support mdiehl at diehlnet.com
Sat Jul 28 04:43:55 CDT 2012


Hi all,

I'm trying to get my voicemail messages stored in a mysql database via odbc.  
Most of it is working, except, when I play my 
voicemail messages, I don't hear anything.

I can confirm that the messages are getting stored in the database:

select 
uniqueid,msgnum,dir,context,macrocontext,callerid,origtime,duration,mailboxuser,mailboxcontext,flag,`read` 
from voicemessages;
+----------+--------+-------------------------------------------------+-----------+--------------+----------------+------------+----------+-------------+----------------+------+------+
| uniqueid | msgnum | dir                                             | 
context   | macrocontext | callerid       | origtime   | duration | 
mailboxuser | mailboxcontext | flag | read |
+----------+--------+-------------------------------------------------+-----------+--------------+----------------+------------+----------+-------------+----------------+------+------+
|        7 |      0 | /var/spool/asterisk/voicemail/diehlnet/7001/Old | 
customers |              | FFFF17442025-1 | 1343462922 | 0        | 7001        
| diehlnet       |      |    0 |
+----------+--------+-------------------------------------------------+-----------+--------------+----------------+------------+----------+-------------+----------------+------+------+

select length(recording) from voicemessages;
+-------------------+
| length(recording) |
+-------------------+
|             52204 |
+-------------------+

This is what the console displays during message playback:

[Jul 28 02:28:35]   == Parsing 
'/var/spool/asterisk/voicemail/diehlnet/7001/Old/msg0000.txt': [Jul 28 
02:28:35]   == Found
[Jul 28 02:28:35]     -- <SIP/FFFF17442025-1-0000000d> Playing 'vm-
message.ulaw' (language 'en')
[Jul 28 02:28:36]     -- <SIP/FFFF17442025-1-0000000d> Playing 'vm-unknown-
caller.ulaw' (language 'en')
[Jul 28 02:28:38]     -- <SIP/FFFF17442025-1-0000000d> Playing 
'/var/spool/asterisk/voicemail/diehlnet/7001/Old/msg0000.slin' (language 'en')

Of course mg0000.txt and msg0000.slin don't exist.  I'm assuming Asterisk 
creates them and deletes them?

But I don't hear anything.  Any ideas?  Asterisk version 10.6.1 

Also, on a side note, ODBC storage and video voicemail aren't going to work 
together, right?

-- 

Take care and have fun,
Mike Diehl.
-- 

Mike Diehl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120728/b0b7c842/attachment.htm>


More information about the asterisk-users mailing list