summaryrefslogtreecommitdiff
path: root/main/cdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/cdr.c')
-rw-r--r--main/cdr.c4
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"