diff options
author | Joshua Colp <jcolp@digium.com> | 2006-10-02 20:35:16 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2006-10-02 20:35:16 +0000 |
commit | 3e4a081e1cdae046b37c16177f6ea5d57ae8c7fb (patch) | |
tree | 36ce0a530e136bda39dd9309722c188079822eb3 /apps/app_dial.c | |
parent | fadd9e783170e6719ca08e160c3a83874cefaaee (diff) |
Make callerid fields in Manager events more consistent. CallerIDNum for number and CallerIDName for name. (issue #7976 reported by suhler)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 8f9a05071..da68e83fe 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -373,11 +373,10 @@ static const char *get_cid_name(char *name, int namelen, struct ast_channel *cha static void senddialevent(struct ast_channel *src, struct ast_channel *dst) { - /* XXX do we need also CallerIDnum ? */ manager_event(EVENT_FLAG_CALL, "Dial", "Source: %s\r\n" "Destination: %s\r\n" - "CallerID: %s\r\n" + "CallerIDNum: %s\r\n" "CallerIDName: %s\r\n" "SrcUniqueID: %s\r\n" "DestUniqueID: %s\r\n", |