chan_sip: notify dialog info ignores presentation indicator in callerid
authorKevin Harwell <kharwell@digium.com>
Mon, 4 Nov 2013 21:02:18 +0000 (21:02 +0000)
committerKevin Harwell <kharwell@digium.com>
Mon, 4 Nov 2013 21:02:18 +0000 (21:02 +0000)
commitfe47684b43eb7d7c5739b3cb2e8147beb29092ab
tree4afd3269efbedd935ca0d9b23e8e047105e76580
parent7d2f2d6ef884dffc1d18c7312d2db274d6cb2a5a
chan_sip: notify dialog info ignores presentation indicator in callerid

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.

(closes issue AST-1175)
Reported by: Thomas Arimont
Review: https://reviewboard.asterisk.org/r/2976/
........

Merged revisions 402450 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 402452 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c