Fix some broken logic in sending outbound caller ID.
authorMark Michelson <mmichelson@digium.com>
Mon, 8 Jul 2013 13:57:28 +0000 (13:57 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 8 Jul 2013 13:57:28 +0000 (13:57 +0000)
commit7fdeb52910cd267ea8837d1246712e1a06812337
tree6d2fa22330a5ea4a0f0a715380849cb37a541c02
parent70a46e2ee5dd5af7a36bad2223fd81acd6be8906
Fix some broken logic in sending outbound caller ID.

* trust_id_outbound was required even when the caller ID was not marked
private. This is against intentions and documentation.
* We now check both name and number privacy instead of checking name privacy
twice.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_sip_caller_id.c