]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: notify dialog info ignores presentation indicator in callerid
authorKevin Harwell <kharwell@digium.com>
Mon, 4 Nov 2013 20:52:58 +0000 (20:52 +0000)
committerKevin Harwell <kharwell@digium.com>
Mon, 4 Nov 2013 20:52:58 +0000 (20:52 +0000)
commit1664326ba9b5181a038cf258c8f88527a46c1942
tree90f30211b17c618fd10d5d2dea76aeeda0b1f849
parent864163492ccf51884b314435727d498ad139f38a
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/

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