Metadata-Version: 1.1
Name: panoramisk
Version: 0.3
Summary: asyncio based library to play with asterisk
Home-page: https://github.com/gawel/panoramisk/
Author: Gael Pasgrimaud
Author-email: gael@gawel.org
License: MIT
Description: ================================================
        panoramisk. The asterisk's druid
        ================================================
        
        .. image:: https://travis-ci.org/gawel/panoramisk.png?branch=master
          :target: https://travis-ci.org/gawel/panoramisk
        .. image:: https://coveralls.io/repos/gawel/panoramisk/badge.png?branch=master
          :target: https://coveralls.io/r/gawel/panoramisk?branch=master
        .. image:: https://pypip.in/v/panoramisk/badge.png
           :target: https://crate.io/packages/panoramisk/
        .. image:: https://pypip.in/d/panoramisk/badge.png
           :target: https://crate.io/packages/panoramisk/
        
        `panoramisk` is a library based on python's `asyncio
        <http://docs.python.org/dev/library/asyncio.html>`_ to play with `asterisk
        <http://www.asterisk.org/community/documentation>`_'s `manager
        <https://wiki.asterisk.org/wiki/display/AST/The+Asterisk+Manager+TCP+IP+API>`_.
        
        It use the tcp manager server to listen to events and the http server (``/arawman``) to send actions.
        
        See the api for more informations: https://panoramisk.readthedocs.org/
        
        Source: https://github.com/gawel/panoramisk/
        
        Basic usage::
        
            >>> from panoramisk import Manager
            >>> import asyncio
        
            >>> loop = asyncio.get_event_loop()
        
            >>> manager = Manager(loop=loop)
        
            >>> def handle_meetme(event, manager):
            ...     # do stuff with the event
        
            >>> # listen to Meetme* events
            >>> manager.register_event('Meetme*', handle_meetme)
        
            >>> # connect
            >>> manager.connect()
        
            >>> # wait a few seconds while we connecting and
            >>> # call gawel and make him call 0299999999 on reply
            >>> loop.call_later(5, manager.send_action({
            ...     'Action': 'Originate',
            ...     'Channel': 'SIP/gawel',
            ...     'WaitTime': 20,
            ...     'CallerID': 'gawel',
            ...     'Exten': '0299999999',
            ...     'Context': 'default',
            ...     'Priority': 1,
            ... }))
        
Keywords: asyncio asterisk voip
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: License :: OSI Approved :: MIT License
