Commit Graph

16 Commits (e7630f09abc2165d9e88953dec4efa412f54852a)

Author SHA1 Message Date
Timur Tuchkovenko 9fe12dfa83 python3 compatibility manager fix 2015-02-27 00:10:32 +05:00
Timur Tuchkovenko 5efe3f4593 minor rewrite for Python 3 support. Some other fixes in corresponding files. 2014-10-08 11:43:32 +06:00
Sp1tF1r3 10d897a5dd Added action Reload 2014-09-17 16:39:01 -04:00
Areski Belaid fed2705abb add simple example for show channels 2012-11-12 11:20:05 +01:00
Areski Belaid 2ab6d3ff7d PEP8 Fixes 2012-11-11 18:43:41 +01:00
Aleksandr Sorokoumov caf94ddb59 representation of managermsg was fixed 2012-08-26 16:30:34 +04:00
Randall Degges 60b904bf10 Adding in bugfix for issue with manager.status().
The problem is that the status command returns output in a special format, that
was not being parsed correctly.

This fix is a bit ugly, but is the only way (afaik) to cleanly handle the
status command so that its output can be used.
2011-05-31 17:12:23 -07:00
Randall Degges 85fc17017e Removing trailing whitespace from files. 2011-05-31 12:56:57 -07:00
ralf b886c83df4 - merge unreleased changed from repository of Matthew Nicholson
git-svn-id: https://pyst.svn.sourceforge.net/svnroot/pyst/pyst/trunk@17 01a3061f-1c3a-49da-a2a0-fa5697faa6a0
2010-06-23 07:44:16 +00:00
ralf 2ce9950239 - fix the case where broken commands do not have a header or are missing
the 'Response' header.


git-svn-id: https://pyst.svn.sourceforge.net/svnroot/pyst/pyst/trunk@12 01a3061f-1c3a-49da-a2a0-fa5697faa6a0
2010-06-18 19:27:20 +00:00
ralf abb2d07249 - fix problem when building callback list, patch suggested in
mailinglist thread
  https://sourceforge.net/mailarchive/forum.php?thread_name=1209418634.5888.33.camel%40solo.digium.internal&forum_name=pyst-users



git-svn-id: https://pyst.svn.sourceforge.net/svnroot/pyst/pyst/trunk@11 01a3061f-1c3a-49da-a2a0-fa5697faa6a0
2010-06-18 15:24:05 +00:00
ralf 08d7dc585b - add sippeers and sipshowpeer
git-svn-id: https://pyst.svn.sourceforge.net/svnroot/pyst/pyst/trunk@10 01a3061f-1c3a-49da-a2a0-fa5697faa6a0
2010-06-18 13:47:45 +00:00
ralf df35521c5b - use socket.makefile for the socket, it's so much easier
- don't put a file object in the queue when receiving, just the list of
  lines read
- fix parsing of message in ManagerMsg:
  - don't ignore blank lines
  - put everything after an invalid header into data
- in _receive_data:
  - read whole lines -- socket.makefile makes it possible
  - if an invalid header is encountered read until END COMMAND marker
  - put list of lines into the queue, not an artificial file object


git-svn-id: https://pyst.svn.sourceforge.net/svnroot/pyst/pyst/trunk@5 01a3061f-1c3a-49da-a2a0-fa5697faa6a0
2010-06-18 08:31:10 +00:00
ralf f34ff5f31f - fix handling of greeting
git-svn-id: https://pyst.svn.sourceforge.net/svnroot/pyst/pyst/trunk@4 01a3061f-1c3a-49da-a2a0-fa5697faa6a0
2010-06-17 17:29:23 +00:00
ralf 7f4293d50c - add playdtmf action
git-svn-id: https://pyst.svn.sourceforge.net/svnroot/pyst/pyst/trunk@3 01a3061f-1c3a-49da-a2a0-fa5697faa6a0
2010-06-17 16:22:48 +00:00
ralf 0cfa2e82ef - copy original 0.2 release from tags/0.2
git-svn-id: https://pyst.svn.sourceforge.net/svnroot/pyst/pyst/trunk@2 01a3061f-1c3a-49da-a2a0-fa5697faa6a0
2010-06-17 16:16:28 +00:00