[asterisk-bugs] [Asterisk 0016562]: Error parsing format= parameter in voicemail.conf
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jan 7 10:13:01 CST 2010
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=16562
======================================================================
Reported By: bsexton
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16562
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.2.0
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2010-01-06 17:55 CST
Last Modified: 2010-01-07 10:13 CST
======================================================================
Summary: Error parsing format= parameter in voicemail.conf
Description:
There appears to be a possible bug in the parsing of the format= line in
voicemail.conf. It seems to work OK so long as I specifiy one, two, or four
formats but does not work as expected with three formats.
format=wav49|ulaw works as expected with this result:
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/gYyxx3 format: wav49,
0x2c0c798
-- x=1, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/gYyxx3 format: ulaw,
0x2c72de8
format=wav49|ulaw|g729 does not work as expected and has the following
result:
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/SYUeVb format: wav49,
0x2c0c798
-- x=1, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/SYUeVb format: ulaw,
0x2c72de8
format=wav49|ulaw|g729|g723sf works with the following result:
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/R7XOJH format: wav49,
0x2c0c798
-- x=1, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/R7XOJH format: ulaw,
0x2c08a28
-- x=2, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/R7XOJH format: g729,
0x27aa068
-- x=3, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/R7XOJH format: g723sf,
0x2c735b8
format=wav49|ulaw|g723sf does not work as expected and has the following
result:
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/Kkg3XC format: wav49,
0x2c0c798
-- x=1, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/Kkg3XC format: ulaw,
0x2c72f48
[Jan 6 18:50:51] WARNING[14307]: file.c:1160 ast_writefile: No such
format 'g'
-- x=2, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/Kkg3XC format: g, (nil)
[Jan 6 18:50:51] WARNING[14307]: app.c:868 __ast_play_and_record: Error
creating writestream
'/var/spool/asterisk/voicemail/default/6000/tmp/Kkg3XC', format 'g'
format=wav49|g729|ulaw|ulaw generates my desired result, but only by
specifying ulaw twice, and has the following result:
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/2nPMtT format: wav49,
0x2c0c798
-- x=1, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/2nPMtT format: g729,
0x27aa068
-- x=2, open writing:
/var/spool/asterisk/voicemail/default/6000/tmp/2nPMtT format: ulaw,
0x2c556d8
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0016560 [regression] Voicemail message not reco...
======================================================================
----------------------------------------------------------------------
(0116219) lmadsen (administrator) - 2010-01-07 10:13
https://issues.asterisk.org/view.php?id=16562#c116219
----------------------------------------------------------------------
Duplicate of https://issues.asterisk.org/view.php?id=16560
Issue History
Date Modified Username Field Change
======================================================================
2010-01-07 10:13 lmadsen Note Added: 0116219
2010-01-07 10:13 lmadsen Status new => closed
======================================================================
More information about the asterisk-bugs
mailing list