[asterisk-bugs] [JIRA] (ASTERISK-28235) ERROR[-1]: app_voicemail.c:2836 inboxcount2: Couldn't find mailbox in context

FreeBSD (JIRA) noreply at issues.asterisk.org
Thu Jan 10 02:21:47 CST 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245938#comment-245938 ] 

FreeBSD edited comment on ASTERISK-28235 at 1/10/19 2:21 AM:
-------------------------------------------------------------

Sorry I also running Asterisk on OpenBSD 6.3 GENERIC.MP#107 amd64.

[general]
format=wav49|gsm|wav

serveremail=asterisk at pbxhost
attach=no
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3

emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
emaildateformat=%A, %B %d, %Y at %r
pagerdateformat=%A, %B %d, %Y at %r
mailcmd=/usr/sbin/sendmail -t
sendvoicemail=yes
searchcontexts=yes

[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM


[default]

[home]
2001 => 1111,test1,test1 at company.com
2008 => 1111,test2,test2 at company.com


Also I have tried to remove the 3rd email field but it does the same thing:
[Jan 10 09:19:06] ERROR[-1]: app_voicemail.c:2836 inboxcount2: Couldn't find mailbox 2001 in context home
[Jan 10 09:19:06] ERROR[-1]: app_voicemail.c:2836 inboxcount2: Couldn't find mailbox 2008 in context home


Although I will need the email notifications.


was (Author: freebsdx):
Sorry I also running Asterisk on OpenBSD pbx.bm.lan 6.3 GENERIC.MP#107 amd64.

[general]
format=wav49|gsm|wav

serveremail=asterisk at pbxhost
attach=no
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3

emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
emaildateformat=%A, %B %d, %Y at %r
pagerdateformat=%A, %B %d, %Y at %r
mailcmd=/usr/sbin/sendmail -t
sendvoicemail=yes
searchcontexts=yes

[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM


[default]

[home]
2001 => 1111,test1,test1 at company.com
2008 => 1111,test2,test2 at company.com

> ERROR[-1]: app_voicemail.c:2836 inboxcount2: Couldn't find mailbox in context
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-28235
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28235
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 13.24.1
>            Reporter: FreeBSD
>            Assignee: Unassigned
>
> I have upgraded Asterisk from an old 11.x based system to 13.x.
> Everything works except I get this errors for the voicemail when users connecting.
>  ERROR[-1]: app_voicemail.c:2836 inboxcount2: Couldn't find mailbox 2001 in context ....
> I have tried to put the voicemails into both the DEFAULT and custom (home) group like:
> [home]
> 2001 => 1111,test1,test1 at company.com
> 2008 => 1111,test2,test2 at company.com
> sip.conf for users:
> [210]
> canreinvite=yes
> videosupport=yes
> type=friend
> host=dynamic
> secret=bigsecret
> context=home
> mailbox=2001
> deny=0.0.0.0/0
> permit=10.0.0.0/255.0.0.0;
> disallow=all
> allow=g722
> allow=speex
> allow=ulaw
> allow=alaw
> allow=h261
> allow=h263
> allow=h263p
> allow=h264
> insecure=invite,port
> Always the same results, I even went back to factory voicemail.conf and append it in the end.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list