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/sig_ss7.c | |
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/sig_ss7.c')
-rw-r--r-- | channels/sig_ss7.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/channels/sig_ss7.c b/channels/sig_ss7.c index 7325b874b..7e1f76aa4 100644 --- a/channels/sig_ss7.c +++ b/channels/sig_ss7.c @@ -140,7 +140,12 @@ static void sig_ss7_set_caller_id(struct sig_ss7_chan *p) //caller.id.subaddress.odd_even_indicator = 0; caller.id.subaddress.str = p->cid_subaddr; } - caller.ani = p->cid_ani; + + caller.ani.number.str = p->cid_ani; + //caller.ani.number.plan = p->xxx; + //caller.ani.number.presentation = p->xxx; + caller.ani.number.valid = 1; + caller.ani2 = p->cid_ani2; p->calls->set_callerid(p->chan_pvt, &caller); } |