-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3164/
-----------------------------------------------------------

Review request for Asterisk Developers.


Bugs: ASTERISK-23072
    https://issues.asterisk.org/jira/browse/ASTERISK-23072


Repository: Asterisk


Description
-------

When subscribing to MWI (res_pjsip_mwi) and the sip uri did not contain a name 
(ex: sip:<ip address>) then the subscription would fail since it would be 
unable to locate an associated aor.  This patch makes it so that when a 
subscribe comes with no aor name then it will subscribe to all aors on the 
located endpoint.


Diffs
-----

  branches/12/res/res_pjsip_mwi.c 406638 

Diff: https://reviewboard.asterisk.org/r/3164/diff/


Testing
-------

Some manual testing.  Set up an endpoint with two aors with two different 
mailboxes.  Made sure there were some messages waiting and then issued a 
subscribe without an aor name in the sip uri.  Noted the resulting notify had 
the correct number of new messages waiting.

Also setup a similar scenario in the testsuite: 
https://reviewboard.asterisk.org/r/3165/


Thanks,

Kevin Harwell

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to