panoramisk
panoramisk copied to clipboard
asyncio based library to play with asterisk
in this case, how i use 'queues_details' for my script? import asyncio from panoramisk import Manager from pprint import pprint @asyncio.coroutine def queue_status(): manager = Manager(loop=asyncio.get_event_loop(), host='127.0.0.1', port=5039, username='username', secret='mysecret')...
Hi! I got the following error (python3.6, panoramisk 1.1): ``` Exception in callback CallManager.set_result(()]>)(>)> Traceback (most recent call last): File "/usr/lib/python3.6/asyncio/events.py", line 127, in _run self._callback(*self._args) File "/usr/lib/python3.6/site-packages/panoramisk/call_manager.py", line 37,...
How to limit the number of attempts to reconnect to an asterisk if the login or secret is incorrectly specified? Im trying to use `originate.py` script, but if I specify...
Note that the [`asyncio docs`](https://docs.python.org/3/library/asyncio-eventloop.html#creating-futures-and-tasks) say that _loop_.`create_future()` and _loop_.`create_task()` are the preferred ways of creating `Future` and `Task` objects, rather than instantiating them directly. [This patch](https://github.com/gawel/panoramisk/files/10046405/ldo-create-futures-tasks.patch.txt) removes the direct...
Minor thing, but it seems to me that the message “not able to reconnect” should happen if there is already a connection, and “not able to connect” if there isn’t...
Hi, I tested your originate.py sample. If the call is answered, everything is fine, but if no answer or call is dropped, then I get nothing. I didn't receive event...
The contents of SMS is ''. I have resolved this by monkey patching the Message.__init__ ``` from panoramisk import Message def patched_init(self, headers, content=''): super(Message, self).__init__(content=content, **headers) self.manager = None...