diff options
author | Richard Mudgett <rmudgett@digium.com> | 2010-07-14 16:58:03 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2010-07-14 16:58:03 +0000 |
commit | cf7bbcc4c667a1fe907b0ec71e9a4fed506b8c23 (patch) | |
tree | 804c18f5b1b87b38928ba78b993358d14926f97e /channels/chan_vpb.cc | |
parent | e2599bc42c07a6a5611a3804ce08495ccdc72b94 (diff) |
Expand the caller ANI field to an ast_party_id
Expand the ani field in ast_party_caller and ast_party_connected_line to
an ast_party_id.
This is an extension to the ast_callerid restructuring patch in review:
https://reviewboard.asterisk.org/r/702/
Review: https://reviewboard.asterisk.org/r/744/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_vpb.cc')
-rw-r--r-- | channels/chan_vpb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc index 9914c59c3..6a268bdb3 100644 --- a/channels/chan_vpb.cc +++ b/channels/chan_vpb.cc @@ -788,7 +788,7 @@ static void get_callerid_ast(struct vpb_pvt *p) ast_shrink_phone_number(number); ast_set_callerid(owner, number, name, - owner->caller.ani ? NULL : number); + owner->caller.ani.number.valid ? NULL : number); if (!ast_strlen_zero(name)){ snprintf(p->callerid, sizeof(p->callerid), "%s %s", number, name); } else { |