Damon Estep
2006-May-16 10:13 UTC
[Asterisk-Users] error leaving voicemail in multiple VM boxes
Has anyone seen this (version 1.2)?
The following dialplan should result in the voicemail message being
delivered two both mailboxes (5555557426@context_name and
5555557427@context_name);
exten => 0,1,SetCIDName(OPER ${CALLERIDNAME})
exten =>
0,2,Dial(SIP/5555557423&SIP/5555557424&SIP/5555557425&SIP/5555557426&SIP
/5555557427&SIP/5555557428&SIP/5555557429&SIP/5555557430|30)
exten => 0,3,playback(no-operator)
exten =>
0,4,Voicemail(5555557426@context_name&5555557427@context_name|s)
exten => 0,5,Hangup()
The actual result is an error copying the message to the second mailbox
as follows;
-- Executing VoiceMail("Zap/15-1",
"5555557426@context_name&5555557427@context_name|s") in new stack
-- Playing 'beep' (language 'en')
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/context_name/5555557426/INBOX/msg0000
format: wav, 0x8f69968
-- x=1, open writing:
/var/spool/asterisk/voicemail/context_name/5555557426/INBOX/msg0000
format: ulaw, 0x8f5a3c0
May 16 10:48:44 NOTICE[24590]: app_voicemail.c:2262 copy_message:
Copying message from 5555557426@context_name to 5555557427@context_name
-- Channel 0/15, span 1 got hangup
May 16 10:48:49 WARNING[24590]: app.c:1146 ast_lock_path: Failed to lock
path '': File exists
Looks like there is no process to produce a unique filename before the
copy?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060516/9e4a4aac/attachment.htm
Noah Miller
2006-May-16 11:45 UTC
[Asterisk-Users] error leaving voicemail in multiple VM boxes
Hi Damon -> The following dialplan should result in the voicemail message being > delivered two both mailboxes (5555557426@context_name and > 5555557427@context_name); > The actual result is an error copying the message to the second mailbox as > follows;I do the same thing (with version 1.2.7.1), and it's working. Admittedly, I also use ODBC message storage, but even in this scheme, it actually writes out the message files before transferring them to database. Could it maybe be because you are writing to two different formats (wav and ulaw) and two different boxes at this same time? The actual console message I get when it writes to two mailboxes is: May 16 14:43:50 NOTICE[22200]: app_voicemail.c:2313 copy_message: Copying message from 68@extensions to 99@extensions - Noah