[asterisk-dev] [Code Review] 2976: chan_sip: notify dialog info ignores presentation indicator in callerid

Kevin Harwell reviewboard at asterisk.org
Wed Oct 30 09:07:37 CDT 2013


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

Review request for Asterisk Developers.


Bugs: AST-1175
    https://issues.asterisk.org/jira/browse/AST-1175


Repository: Asterisk


Description
-------

The presentation indicator in a callerid (e.g. set by dialplan function Set(CALLERID(name-pres)= ...)) is not checked when SIP Dialog Info Notifies are generated during extension monitoring.  Added a check to make sure the name and/or number presentations on the callee (remote identity) are set to allow.  If they are restricted then "anonymous" is used instead. 


Diffs
-----

  branches/11/channels/chan_sip.c 402221 

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


Testing
-------

Using SIPp subscribed to dialog-info for a phone then made a call from another phone to the subscribed phone and observed that the remote identity was being replaced when either the name and/or number presentations were set to restricted.


Thanks,

Kevin Harwell

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


More information about the asterisk-dev mailing list