[asterisk-dev] [Code Review] 2643: Stasis - Refactor AOC Events
Kevin Harwell
reviewboard at asterisk.org
Tue Jun 25 14:15:35 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2643/
-----------------------------------------------------------
Review request for Asterisk Developers.
Bugs: ASTERISK-21472
https://issues.asterisk.org/jira/browse/ASTERISK-21472
Repository: Asterisk
Description
-------
Refactored the AMI events in AOC onto Stasis-Core. The ast_aoc_manager_event function now publishes a channel snapshot, along with a JSON blob describing the advice of charge. A "to_ami" handler has also been added that converts the channel snapshot and AOC event data back into the appropriate data structure for use with AMI.
Diffs
-----
./trunk/main/aoc.c 392862
Diff: https://reviewboard.asterisk.org/r/2643/diff/
Testing
-------
This one is kind of hard to actually test. However, I did create a temporary AMI command in order to push data into the ast_aoc_manager_event function in order to verify the values were properly being converted between data structures, JSON, and string values.
Thanks,
Kevin Harwell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130625/8e3196d1/attachment.htm>
More information about the asterisk-dev
mailing list