[asterisk-dev] [Code Review] 2428: Add channel event distribution to app_stasis

opticron reviewboard at asterisk.org
Sun Apr 28 00:01:08 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2428/
-----------------------------------------------------------

(Updated April 28, 2013, 12:01 a.m.)


Review request for Asterisk Developers.


Changes
-------

Address Matt's comments. Events are now created via functions generated from JSON event documentation. This requires documentation to be in place before events can be created. This JSON event documentation is already translated into wiki pages thanks to David Lee.


Bugs: ASTERISK-21180
    https://issues.asterisk.org/jira/browse/ASTERISK-21180


Repository: Asterisk


Description
-------

Add publication of AMI-equivalent channel event messages to users of app_stasis using JSON blobs.


Diffs (updated)
-----

  trunk/include/asterisk/astobj2.h 386618 
  trunk/include/asterisk/stasis_channels.h 386618 
  trunk/main/astobj2.c 386618 
  trunk/main/manager_channels.c 386618 
  trunk/main/stasis_channels.c 386618 
  trunk/res/res_stasis.c 386327 
  trunk/res/res_stasis_http_events.c 386618 
  trunk/res/res_stasis_websocket.c 386618 
  trunk/res/stasis_http/resource_events.h 386618 
  trunk/rest-api-templates/asterisk_processor.py 386618 
  trunk/rest-api-templates/event_function_decl.mustache PRE-CREATION 
  trunk/rest-api-templates/res_stasis_http_resource.c.mustache 386618 
  trunk/rest-api-templates/stasis_http_resource.h.mustache 386618 
  trunk/rest-api-templates/swagger_model.py 386618 
  trunk/rest-api/api-docs/events.json 386618 

Diff: https://reviewboard.asterisk.org/r/2428/diff/


Testing
-------

Tested with a hacked together app_stasis app which dumps incoming messages.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130428/4b5102d1/attachment.htm>


More information about the asterisk-dev mailing list