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 /res/res_musiconhold.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 'res/res_musiconhold.c')
-rw-r--r-- | res/res_musiconhold.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 604ff300e..410a23288 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -1346,7 +1346,7 @@ static int local_ast_moh_start(struct ast_channel *chan, const char *mclass, con return -1; } - manager_event(EVENT_FLAG_CALL, "MusicOnHold", + ast_manager_event(chan, EVENT_FLAG_CALL, "MusicOnHold", "State: Start\r\n" "Channel: %s\r\n" "UniqueID: %s\r\n", @@ -1378,7 +1378,7 @@ static void local_ast_moh_stop(struct ast_channel *chan) } } - manager_event(EVENT_FLAG_CALL, "MusicOnHold", + ast_manager_event(chan, EVENT_FLAG_CALL, "MusicOnHold", "State: Stop\r\n" "Channel: %s\r\n" "UniqueID: %s\r\n", |