[Home]

Summary:ASTERISK-08625: Voicemail w/ odbc fails under certain circumstances
Reporter:nicklinn (nicklinn)Labels:
Date Opened:2007-01-20 20:38:33.000-0600Date Closed:2007-01-20 21:06:01.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If review=yes is set in the voicemail.conf and the user terminates the voice message using #,1 (save) the voicemail is not properly pharsing the message.  This does not effect termination though a hangup or #.

Behaviour with #,1:
   -- Playing '/var/spool/asterisk/voicemail/default/1001/greet' (language 'en')
   -- Playing 'vm-isunavail' (language 'en')
   -- Playing 'vm-intro' (language 'en')
   -- Playing 'beep' (language 'en')
   -- Recording the message
   -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1001/tmp/sGhMBG format: gsm, 0x8224020
   -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1001/tmp/sGhMBG format: g729, 0x82242d0
   -- User ended message by pressing #
   -- Playing 'auth-thankyou' (language 'en')
   -- Playing 'vm-review' (language 'en')
   -- Saving message as is
   -- Playing 'vm-msgsaved' (language 'en')
   -- Executing [1001@longdistance:3] Hangup("SIP/1001-0821c240", "") in new stack
 == Spawn extension (longdistance, 1001, 3) exited non-zero on 'SIP/1001-0821c240'
      > cdr_odbc: Query Successful!

Behaviour with hangup or #
   -- Playing '/var/spool/asterisk/voicemail/default/1001/greet' (language 'en')
   -- Playing 'vm-isunavail' (language 'en')
   -- Playing 'vm-intro' (language 'en')
   -- Playing 'beep' (language 'en')
   -- Recording the message
   -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1001/tmp/NAms0Z format: gsm, 0x8225018
   -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1001/tmp/NAms0Z format: g729, 0x82252c8
   -- User hung up
 == Parsing '/var/spool/asterisk/voicemail/default/1001/INBOX/msg0000.txt': Found
 == Spawn extension (longdistance, 1001, 2) exited non-zero on 'SIP/1001-0821d868'
      > cdr_odbc: Query Successful!


Oddly, I have noticed a similar problem with greeting, name, etc. recording in the mailbox setup.  Selecting 1 after recording to save doesn't properly save the file where hanging up does.
Comments: