[asterisk-dev] [Code Review] 2601: PeerEvent Migration to Stasis, and chan_pjsip Devicestate
Joshua Colp
reviewboard at asterisk.org
Fri Jun 7 07:55:39 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2601/
-----------------------------------------------------------
Review request for Asterisk Developers.
Repository: Asterisk
Description
-------
The attached changes implement the following:
1. Migrates the PeerStatus manager event to using Stasis.
Anything generating the PeerStatus event now does so by creating a stasis message and attaching a JSON blob.
2. Adds internal endpoints to some channel drivers.
To allow the above to occur some channel drivers now have endpoints on them.
3. chan_pjsip endpoint support.
chan_pjsip will now create a persistent endpoint which is used for the below device state support.
4. chan_pjsip devicestate support.
chan_pjsip now has device state support! Unlike other channel drivers this uses stasis to derive the current device state based on endpoint state and active channels.
Diffs
-----
/trunk/channels/chan_gulp.c 390667
/trunk/channels/chan_iax2.c 390667
/trunk/channels/chan_sip.c 390667
/trunk/channels/chan_skinny.c 390667
/trunk/include/asterisk/manager.h 390667
/trunk/include/asterisk/res_sip.h 390667
/trunk/include/asterisk/stasis_endpoints.h 390667
/trunk/main/manager.c 390667
/trunk/main/manager_endpoints.c PRE-CREATION
/trunk/main/stasis_endpoints.c 390667
/trunk/res/res_sip.c 390667
/trunk/res/res_sip/sip_configuration.c 390667
Diff: https://reviewboard.asterisk.org/r/2601/diff/
Testing
-------
Exercised the various channel drivers to ensure that the manager events are going out.
Placed tons of calls with different scenarios with chan_pjsip to ensure that the device state changes to what is expected, and it does.
Thanks,
Joshua Colp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130607/c0fe27e1/attachment.htm>
More information about the asterisk-dev
mailing list