[asterisk-bugs] [JIRA] (ASTERISK-24790) Reduce spurious noise in logs from voicemail - Couldn't find mailbox %s in context

Graham Barnett (JIRA) noreply at issues.asterisk.org
Fri Feb 20 14:45:35 CST 2015


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

Graham Barnett commented on ASTERISK-24790:
-------------------------------------------

Example:

;--------------------------------------------------------------------------------;
;          Do NOT edit this file as it is auto-generated by FreePBX.             ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
; is totally deliberate.                                                         ;
;--------------------------------------------------------------------------------;
#include pjsip.endpoint_custom.conf

[112]
type=endpoint
aors=112
auth=112-auth
allow=ulaw,alaw,gsm,g726,g729
context=from-internal
callerid=device <112>
dtmf_mode=rfc4733
mailboxes=112 at device
use_avpf=no
ice_support=no
media_use_received_transport=no
trust_id_inbound=yes
rtp_symmetric=yes
rewrite_contact=yes

This may be a bad interaction with FreePBX 12.0.x.x where it does not allow the entry of an empty mailbox even when an extension has none.

admin/modules/core/Core.class.php
                                } elseif ($keyword == 'mailbox' && $data == '') {
                                        $fields['mailbox'] = array("value" => $account.'@device', "flag" => $flag$

Note also it puts x at device and not x at default which prevent message indicators working.

What is the correct behaviour here in freepbx .... 
1. Should is be @default as a default
2. Is empty the legal value that indicates no mailbox, and this is therefore a bug in freepbx, rather than asterisk spamming?
3. Is there a non-empty value that can be set to indicate no mailbox?

Thanks.



> Reduce spurious noise in logs from voicemail - Couldn't find mailbox %s in context
> ----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24790
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24790
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 13.1.0, 13.2.0
>            Reporter: Graham Barnett
>            Assignee: Graham Barnett
>            Severity: Minor
>         Attachments: app_voicemail.c.patch_noise
>
>
> You get spammed by these messages:
>   Couldn't find mailbox %s in context 
> They do not appear to be errors.



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



More information about the asterisk-bugs mailing list