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

Support mdiehl at diehlnet.com
Thu Aug 2 16:01:14 CDT 2012


Well, it gets even stranger....

I've installed version 10.2.1, instead of 10.7.1, and copied the configuration 
files from another identical server that is running 10.2.1 is working 
correctly.

I STILL can't get voicemail to play back.  I can hear the password prompts

Theses are, what I think to be, the relevant settings in voicemail.conf:

;minmessage=3
maxsilence=10
silencethreshold=128

When I set silencethresholdo either 500 or 64, I still didn't hear anything.  
(But I did hear several seconds of actual silence.  The .wav file contains 
nothing but silence.

So, fiddling with the silencethreshold in both directions, doesn't seem to 
change the symptoms.

Where else should I look?

TIA

Mike.


On Saturday 28 July 2012 3:43:55 am Support wrote:
> 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,mailbox
> user,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.



More information about the asterisk-users mailing list