[asterisk-bugs] [JIRA] (ASTERISK-28151) MWI fails with mailboxes=##@device instead of mailboxes=##@default

Ronald Raikes (JIRA) noreply at issues.asterisk.org
Wed Nov 7 13:12:47 CST 2018


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

Ronald Raikes commented on ASTERISK-28151:
------------------------------------------

The following configuration was generated by FreePBX:


{code}
[12]
type=aor
mailboxes=12 at device
max_contacts=1
remove_existing=yes
maximum_expiration=7200
minimum_expiration=60
qualify_frequency=60

[12-auth]
type=auth
auth_type=userpass
password=password
username=12

[12]
type=endpoint
aors=12
auth=12-auth
tos_audio=ef
tos_video=af41
cos_audio=5
cos_video=4
allow=ulaw,g722,opus
context=from-internal
callerid=Ronald Raikes <12>
dtmf_mode=rfc4733
mailboxes=12 at device
mwi_subscribe_replaces_unsolicited=yes
aggregate_mwi=yes
use_avpf=no
rtcp_mux=no
bundle=no
ice_support=no
media_use_received_transport=no
trust_id_inbound=yes
media_encryption=no
timers=yes
media_encryption_optimistic=no
send_pai=yes
rtp_symmetric=yes
rewrite_contact=yes
force_rport=yes
language=en
one_touch_recording=on
record_on_feature=apprecord
record_off_feature=apprecord

[12-identify]
type=identify
endpoint=12


[general]
emailbody=${VM_NAME},\n\nThere is a new voicemail in mailbox ${VM_MAILBOX}:\n\n\tFrom:\t${VM_CALLERID}\n\tLength:\t${VM_DUR} seconds\n\tDate:\t${VM_DATE}\n\nDial *98 to access your voicemai$
pollmailboxes=yes
pollfreq=10
forcegreetings=yes
forcename=yes
emailsubject=FreePBX Voicemail Notification
fromstring=FreePBX Phone System
charset=UTF-8
envelope=yes
operator=yes
review=no
saycid=no
sayduration=yes
searchcontexts=no
sendvoicemail=yes
tempgreetwarn=yes
usedirectory=yes
hidefromdir=no
moveheard=yes
smdienable=no
nextaftercmd=yes
emaildateformat=%A, %B %d, %Y at %r
pagersubject=PBX Voicemail Notification
pagerbody=New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE}
pagerfromstring=PBX Phone System
pagerdateformat=%A, %B %d, %Y at %r
pbxskip=no
attach=yes
maxgreet=60
maxlogins=3
maxmsg=100
minpassword=0
maxsecs=300
maxsilence=10
silencethreshold=128
minsecs=1
imapgreetings=yes
imapclosetimeout=60
imapopentimeout=60
imapreadtimeout=60
imapwritetimeout=60

[default]
12 => 1234,Ronald Raikes,,,attach=no|saycid=no|envelope=no|delete=no


root at FreePBX:/etc/asterisk# ls /var/spool/asterisk/voicemail/
default  device


root at FreePBX:/etc/asterisk# ls /var/spool/asterisk/voicemail/device/12/INBOX
msg0000.txt  msg0000.wav
{code}


> MWI fails with mailboxes=##@device instead of mailboxes=##@default
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-28151
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28151
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: . I did not set the category correctly.
>    Affects Versions: GIT
>         Environment: FreePBX 14 + Asterisk Master Branch
>            Reporter: Ronald Raikes
>            Assignee: Ronald Raikes
>            Severity: Trivial
>              Labels: pjsip
>
> This report filed here at the direction of Andrew Nagy.
> Component: Voicemail MWI when using Asterisk Master Branch
> '##' = extension number
> MWI operates properly when PJSIP endpoint is configured with: mailboxes=##@default
> SIP NOTIFY:
> Messages-Waiting: yes
> Voice-Message: 1/0 (0/0)
> MWI fails when PJSIP endpoint is configured with: mailboxes=##@device
> SIP NOTIFY:
> Messages-Waiting: no
> Voice-Message: 0/0 (0/0)
> This problem does not occur with Asterisk 16.0.0.



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



More information about the asterisk-bugs mailing list