diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-13 20:42:03 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-13 20:42:03 +0000 |
commit | 5e2aa190fe2e4903bfc72701bb3c9ed1672b9c2f (patch) | |
tree | 7999c8a779ea7262d222e1e6ed6905b4feedf795 /main/cdr.c | |
parent | 85dd68ca7a4ef7eea76c3fbc85f7beb5fb050bdd (diff) |
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
Diffstat (limited to 'main/cdr.c')
-rw-r--r-- | main/cdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/cdr.c b/main/cdr.c index 9168978a4..2cd11bb05 100644 --- a/main/cdr.c +++ b/main/cdr.c @@ -991,7 +991,7 @@ int ast_cdr_setaccount(struct ast_channel *chan, const char *account) } } - manager_event(EVENT_FLAG_CALL, "NewAccountCode", + ast_manager_event(chan, EVENT_FLAG_CALL, "NewAccountCode", "Channel: %s\r\n" "Uniqueid: %s\r\n" "AccountCode: %s\r\n" @@ -1017,7 +1017,7 @@ int ast_cdr_setpeeraccount(struct ast_channel *chan, const char *account) } } - manager_event(EVENT_FLAG_CALL, "NewPeerAccount", + ast_manager_event(chan, EVENT_FLAG_CALL, "NewPeerAccount", "Channel: %s\r\n" "Uniqueid: %s\r\n" "PeerAccount: %s\r\n" |