[asterisk-bugs] [JIRA] (ASTERISK-29870) chan_sip doesn't send NOTIFY if mailbox not fully specified in sip.conf

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu Jan 20 07:52:06 CST 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp closed ASTERISK-29870.
-------------------------------------

    Resolution: Not A Bug

This is not a bug, and was documented in the UPGRADE.txt document as part of going from Asterisk 11 to Asterisk 12:

VoiceMail:
 - Mailboxes defined by app_voicemail MUST be referenced by the rest of the
   system as mailbox at context.  The rest of the system cannot add @default
   to mailbox identifiers for app_voicemail that do not specify a context
   any longer.  It is a mailbox identifier format that should only be
   interpreted by app_voicemail.


> chan_sip doesn't send NOTIFY if mailbox not fully specified in sip.conf
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-29870
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29870
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Subscriptions
>    Affects Versions: 16.16.1
>         Environment: debian testing on x86_64
>            Reporter: James Bottomley
>
> It's common practice in asterisk configuration files not to add '@default' to the mailbox specification for voicemails.  However, chan_sip subscribes to the stasis all:mwi topic with whatever string is passed in to the sip.conf mailbox=<box> line.  This means that unless you fully specify the mailbox with its @default extension, the MWI is subscribed on the wrong topic and it never sends out SIP notifies to SIP subscribers because stasis never notifies it when voicemail arrives.
> Common practice in asterisk is to check if the mailbox specification has an '@' and if not append '@default'.  I think chan_sip should do this in its MWI stasis subscription.



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



More information about the asterisk-bugs mailing list