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

James Bottomley (JIRA) noreply at issues.asterisk.org
Thu Jan 20 07:46:06 CST 2022


James Bottomley created ASTERISK-29870:
------------------------------------------

             Summary: 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