friends-of-freeswitch / switchio

asyncio powered FreeSWITCH cluster control
http://switchio.rtfd.io
Mozilla Public License 2.0
191 stars 28 forks source link

Router extra subscribe #51

Closed goodboy closed 6 years ago

goodboy commented 6 years ago

Support subscribing for extra event types through a subscribe=(,) kwarg to switchio.apps.router.Router.

This allows for pre-registering for events which will be awaited in router functions. Fixes #50.

goodboy commented 6 years ago

@moises-silva fixed the typo and improved the docs. Give it a once more over if you don't mind :)