[asterisk-bugs] [JIRA] (ASTERISK-26361) App VoiceMail msg_id is not unique
Steven T. Wheeler (JIRA)
noreply at issues.asterisk.org
Mon Sep 12 14:15:01 CDT 2016
Steven T. Wheeler created ASTERISK-26361:
--------------------------------------------
Summary: App VoiceMail msg_id is not unique
Key: ASTERISK-26361
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26361
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Applications/app_voicemail/ODBC
Affects Versions: 11.6.0
Environment: CentOS release 6.7 (Final) Linux 2.6.32-504.8.1.el6.x86_64
Reporter: Steven T. Wheeler
I posted this to the mailing list last week, but didn't receive any feedback.
When multiple mailboxes are passed into the VoiceMail application the records created in the database share the same msg_id.
For example:
{code:none}
[voicemail]
exten => s,1,VoiceMail(2520 at my-VOICEMAIL&252 at my-VOICEMAIL,s)
{code}
Will create these two records in the voicemessages table:
{code:sql}
SELECT msg_id, msgnum, dir, context, macrocontext, callerid, origtime,duration, mailboxuser, mailboxcontext, flag FROM `voicemessages` WHERE msg_id='1473347378-00000005';
{code}
| msg_id | msgnum | dir | context | macrocontext | callerid | origtime | duration | mailboxuser | mailboxcontext | flag |
| 1473347378-00000005 | 4 | /var/spool/asterisk/voicemail/my-VOICEMAIL/2520/INBOX | voicemail_detect_fax | | "Steven Wheeler" <252> | 1473347378 | 3 | 2520 | my-VOICEMAIL | |
| 1473347378-00000005 | 2 | /var/spool/asterisk/voicemail/my-VOICEMAIL/252/INBOX | voicemail_detect_fax | | "Steven Wheeler" <252> | 1473347378 | 3 | 252 | my-VOICEMAIL | |
Is this expected behavior?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list