Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] App VoiceMail msg_id is not unique


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
SWheeler at usinternet...
Guest





PostPosted: Thu Sep 08, 2016 10:40 am    Post subject: [asterisk-users] App VoiceMail msg_id is not unique Reply with quote

When multiple mailboxes are passed into the VoiceMail application the records created in the database share the same msg_id.

For example:
[voicemail]
exten => s,1,VoiceMail(2520@my-VOICEMAIL&252@my-VOICEMAIL,s)

Will create these two records in the voicemessages table:
mysql> SELECT msg_id, msgnum, dir, context, macrocontext, callerid, origtime,duration, mailboxuser, mailboxcontext, flag FROM `voicemessages` WHERE msg_id='1473347378-00000005';
+---------------------+--------+-------------------------------------------------------+----------------------+--------------+------------------------+------------+----------+-------------+----------------+------+
| 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 | |
+---------------------+--------+-------------------------------------------------------+----------------------+--------------+------------------------+------------+----------+-------------+----------------+------+
2 rows in set (0.00 sec)

This test was done with Asterisk 11.6-cert11 running on CentOS release 6.7 (Final) Linux 2.6.32-504.8.1.el6.x86_64

Is this expected behavior?
Steven Wheeler
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services