mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 01:45:11 +00:00
Display a list of channel variables in each channel-oriented event.
(Closes AST-33) Reviewboard: https://reviewboard.asterisk.org/r/368/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@230111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -722,7 +722,8 @@ 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, const char *dialstring)
|
||||
{
|
||||
manager_event(EVENT_FLAG_CALL, "Dial",
|
||||
struct ast_channel *chans[] = { src, dst };
|
||||
ast_manager_event_multichan(EVENT_FLAG_CALL, "Dial", 2, chans,
|
||||
"SubEvent: Begin\r\n"
|
||||
"Channel: %s\r\n"
|
||||
"Destination: %s\r\n"
|
||||
@@ -736,9 +737,9 @@ static void senddialevent(struct ast_channel *src, struct ast_channel *dst, cons
|
||||
dst->uniqueid, dialstring ? dialstring : "");
|
||||
}
|
||||
|
||||
static void senddialendevent(const struct ast_channel *src, const char *dialstatus)
|
||||
static void senddialendevent(struct ast_channel *src, const char *dialstatus)
|
||||
{
|
||||
manager_event(EVENT_FLAG_CALL, "Dial",
|
||||
ast_manager_event(src, EVENT_FLAG_CALL, "Dial",
|
||||
"SubEvent: End\r\n"
|
||||
"Channel: %s\r\n"
|
||||
"UniqueID: %s\r\n"
|
||||
|
||||
Reference in New Issue
Block a user