[asterisk-dev] [Code Review] 3817: res_pjsip_notify: Add the ability for PJSIPNotify AMI command and pjsip send notify CLI command to send to a URI instead of an endpoint

Jonathan Rose reviewboard at asterisk.org
Mon Jul 21 12:23:05 CDT 2014


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

(Updated July 21, 2014, 12:23 p.m.)


Review request for Asterisk Developers, Matt Jordan and Mark Michelson.


Changes
-------

Fixes the crash without performing a bunch of URI validation... by actually using the outbound endpoint with the ast_sip_create_request function.


Repository: Asterisk


Description
-------

Example:

Action: PJSIPNotify
URI: sip:10.10.10.10

pjsip send notify uri <type> uri <uri> [uri...]


Adds the ability to use URIs with the PJSIP notify commands instead of endpoints. These mostly work the same as the endpoint notifications.


Diffs (updated)
-----

  /trunk/res/res_pjsip_notify.c 419109 

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


Testing
-------

Used existing endpoint notification and compared it to similar notifies done against URIs.  The outgoing messages looked the same as far as the details I was concerned with went.


Thanks,

Jonathan Rose

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140721/f95cd001/attachment.html>


More information about the asterisk-dev mailing list