diff options
author | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-14 16:58:03 +0000 |
---|---|---|
committer | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-14 16:58:03 +0000 |
commit | d93fa33a75ef977b9425f11e4d9c69719fea0a9f (patch) | |
tree | 804c18f5b1b87b38928ba78b993358d14926f97e /apps | |
parent | c7be6954611c1b6ccfbf8a4f9ddf5f9e4f58a902 (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: http://svn.digium.com/svn/asterisk/trunk@276393 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_amd.c b/apps/app_amd.c index f4eb78470..b89a93212 100644 --- a/apps/app_amd.c +++ b/apps/app_amd.c @@ -189,7 +189,7 @@ static void isAnsweringMachine(struct ast_channel *chan, const char *data) ); ast_verb(3, "AMD: %s %s %s (Fmt: %s)\n", chan->name, - S_OR(chan->caller.ani, "(N/A)"), + S_COR(chan->caller.ani.number.valid, chan->caller.ani.number.str, "(N/A)"), S_COR(chan->redirecting.from.number.valid, chan->redirecting.from.number.str, "(N/A)"), ast_getformatname(chan->readformat)); |