[Home]

Summary:ASTERISK-09821: IMAP storage need strange configuration
Reporter:Yann JOUANIN (yannj)Labels:
Date Opened:2007-07-06 07:35:01Date Closed:2007-07-09 10:01:37
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I am not sure that this is a bug, but I didn't anywhere that this kind of configuration is needed.

when I want to use the IMAP storage, as soon as the caller stop earing the mailbox announce and has to let his message, I see the error :
"Couldn't find mailbox default in context default"

To make the system work I was obliged to add a mailbox with name default in voicemail.conf (context : default)
Comments:By: Russell Bryant (russell) 2007-07-06 10:26:21

What does this have to do with the GUI?

By: Mark Michelson (mmichelson) 2007-07-06 10:37:47

What arguments are you passing to VoiceMail in extensions.conf?

By: Yann JOUANIN (yannj) 2007-07-06 10:58:41

It comes with the macro stdexten.
I tryed a direct VoiceMail(mailboxnumber,u) , it does the same

By: Mark Michelson (mmichelson) 2007-07-06 11:03:59

Could you give the console output when you call VoiceMail?

By: Yann JOUANIN (yannj) 2007-07-06 16:49:47

CLI output :

   -- Executing [s@macro-stdexten:2] Goto("SIP/204715-083e5010", "s-CHANUNAVAIL|1") in new stack
   -- Goto (macro-stdexten,s-CHANUNAVAIL,1)
   -- Executing [s-CHANUNAVAIL@macro-stdexten:1] Goto("SIP/204715-083e5010", "s-NOANSWER|1") in new stack
   -- Goto (macro-stdexten,s-NOANSWER,1)
   -- Executing [s-NOANSWER@macro-stdexten:1] VoiceMail("SIP/204715-083e5010", "204906|u") in new stack
   -- <SIP/204715-083e5010> Playing 'vm-theperson' (language 'fr')
   -- <SIP/204715-083e5010> Playing 'digits/2' (language 'fr')
   -- <SIP/204715-083e5010> Playing 'digits/0' (language 'fr')
   -- <SIP/204715-083e5010> Playing 'digits/4' (language 'fr')
   -- <SIP/204715-083e5010> Playing 'digits/9' (language 'fr')
   -- <SIP/204715-083e5010> Playing 'digits/0' (language 'fr')
   -- <SIP/204715-083e5010> Playing 'digits/6' (language 'fr')
   -- <SIP/204715-083e5010> Playing 'vm-isunavail' (language 'fr')
   -- <SIP/204715-083e5010> Playing 'vm-intro' (language 'fr')
[Jul  5 17:03:14] ERROR[17017]: app_voicemail.c:2490 inboxcount: Couldn't find mailbox default in context default
[Jul  5 17:03:14] NOTICE[17017]: app_voicemail.c:2994 leave_voicemail: Can not leave voicemail, unable to count messages
 == Spawn extension (macro-stdexten, s-NOANSWER, 1) exited non-zero on 'SIP/204715-083e5010' in macro 'stdexten'
 == Spawn extension (macro-stdexten, s-NOANSWER, 1) exited non-zero on 'SIP/204715-083e5010'

By: Mark Michelson (mmichelson) 2007-07-09 09:37:48

After running some tests, I was able to find where the bug was in the code.

For future reference, when you submit a bug report, please try to give as much information as you can. I would have been able to solve this much more quickly if I had seen your voicemail.conf file and had seen some debug output from the console and you had mentioned in the bug report that you were using the stdexten macro. This issue will be closed as soon as I commit the fix.

By: Digium Subversion (svnbot) 2007-07-09 09:40:57

Repository: asterisk
Revision: 74047

------------------------------------------------------------------------
r74047 | mmichelson | 2007-07-09 09:40:56 -0500 (Mon, 09 Jul 2007) | 4 lines

Fixed a logic error in leave_voicemail. Pass the mailbox instead of the context to inbox_count when the context is "default."
(closes issue ASTERISK-9821, reported by yannj, repaired by me)


------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-07-09 09:41:58

Repository: asterisk
Revision: 74048

------------------------------------------------------------------------
r74048 | mmichelson | 2007-07-09 09:41:58 -0500 (Mon, 09 Jul 2007) | 12 lines

Merged revisions 74047 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74047 | mmichelson | 2007-07-09 09:57:41 -0500 (Mon, 09 Jul 2007) | 4 lines

Fixed a logic error in leave_voicemail. Pass the mailbox instead of the context to inbox_count when the context is "default."
(closes issue ASTERISK-9821, reported by yannj, repaired by me)


........

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-07-09 10:01:37

Repository: asterisk
Revision: 74071

------------------------------------------------------------------------
r74071 | russell | 2007-07-09 10:01:35 -0500 (Mon, 09 Jul 2007) | 92 lines

Merged revisions 73964,73983,73994,74024-74025,74044,74046,74048 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r73964 | file | 2007-07-08 21:29:00 -0500 (Sun, 08 Jul 2007) | 2 lines

Use linkedlist macros for parking.

................
r73983 | file | 2007-07-08 22:14:34 -0500 (Sun, 08 Jul 2007) | 10 lines

Merged revisions 73980 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73980 | file | 2007-07-09 00:13:19 -0300 (Mon, 09 Jul 2007) | 2 lines

Give Agent channel names priority when doing CDR merging. (issue ASTERISK-9711 reported by krtorio)

........

................
r73994 | tilghman | 2007-07-08 23:09:16 -0500 (Sun, 08 Jul 2007) | 10 lines

Merged revisions 73985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73985 | tilghman | 2007-07-08 23:03:20 -0500 (Sun, 08 Jul 2007) | 2 lines

Doxygen formatting fixes; fixes errors while 'make progdocs'.  (Closes issue ASTERISK-9794)

........

................
r74024 | oej | 2007-07-09 03:27:37 -0500 (Mon, 09 Jul 2007) | 7 lines

Implementation of a feature that will disable "missed calls" counters on SIP phones.
If the call is answered by another phone, other phones won't display the call as "missed".
You can also add an option to the dial command so that you can have a "followme"
scenario and not count the calls as "missed" when you cancel the call.

Thanks to Ramon and Frank for feedback on this feature.

................
r74025 | oej | 2007-07-09 03:30:04 -0500 (Mon, 09 Jul 2007) | 2 lines

Update with new features

................
r74044 | file | 2007-07-09 09:38:19 -0500 (Mon, 09 Jul 2007) | 10 lines

Merged revisions 74043 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74043 | file | 2007-07-09 11:34:33 -0300 (Mon, 09 Jul 2007) | 2 lines

Use AC_CHECK_HEADER to check for ptlib/openh323 to allow for cross compiling. (issue ASTERISK-9392 reported by zandbelt)

........

................
r74046 | file | 2007-07-09 09:50:04 -0500 (Mon, 09 Jul 2007) | 10 lines

Merged revisions 74045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74045 | file | 2007-07-09 11:49:05 -0300 (Mon, 09 Jul 2007) | 2 lines

Few minor thread synchronization tweaks. (issue ASTERISK-9777 reported by gzero)

........

................
r74048 | mmichelson | 2007-07-09 09:58:42 -0500 (Mon, 09 Jul 2007) | 12 lines

Merged revisions 74047 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74047 | mmichelson | 2007-07-09 09:57:41 -0500 (Mon, 09 Jul 2007) | 4 lines

Fixed a logic error in leave_voicemail. Pass the mailbox instead of the context to inbox_count when the context is "default."
(closes issue ASTERISK-9821, reported by yannj, repaired by me)


........

................

------------------------------------------------------------------------