pyst2 icon indicating copy to clipboard operation
pyst2 copied to clipboard

A fork of the famous python pyst library for Asterisk.

Results 25 pyst2 issues
Sort by recently updated
recently updated
newest added

When using asterisk.agi with python 3.5, Asterisk 14 and Debian, I get the following exception `write() argument must be str, not bytes` I noticed if I replace lines 166-169: https://github.com/rdegges/pyst2/blob/bd61a408412aef6119c750352ea2f38a71f6d596/asterisk/agi.py#L166-L169...

```python class MyManager(asterisk.manager.Manager): def queuestatus(self): cdict = {"Action": "QueueStatus"} response = self.send_action(cdict) return response ``` in response.data raw output, why not dict? and how parse this output? why in response.headers...

This PR: - fixes some typos - adds the example dir to the README - bumps the version, as the latest version (0.5.1) doesn't include some merged changes for python3

Hi, I can see that the manager has a register_event() but how can I tell the manager to listen for events? For example, a listen() function that would put the...

I run this code ``` """ Example to get list of active channels """ import asterisk.manager import sys manager = asterisk.manager.Manager() try: # connect to the manager try: manager.connect('localhost') manager.login('muhammet',...

…he threads if the connection gets killed early by some other process, the act of trying to send the logout command will raise an exception that prevents the rest of...

Current version of pyst2 (0.5.1) doesn't parse correctly all multiline responses. In this case for example: actions CoreShowChannels or BridgeList. There is no Events in response. Issue persists in asterisk...

Hi, I'm trying to reconnect on a shutdown event. But when Asterisk is back and it does reconnect, it fails with a `RuntimeError: threads can only be started once`. Here...

What does this comment mean: https://github.com/rdegges/pyst2/blob/288cfa28caceaded8b189f6876ed4253b2d92982/asterisk/fastagi.py#L7 Does support pyst2 running this code or doesn't it?

I was having trouble getting two variables or running a script, I've tried both ways below: agi.set_variable ('name', name, 'user', user) **and** agi.set_variable ('name', name, 'user', user) agi.set_variable ('user', user)...