mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-21 01:01:02 +00:00
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
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user