Commit Graph

47 Commits (96fabab755669e6c293deb508cfad4bfeb322adf)

Author SHA1 Message Date
poing cae17c32bb Fixing unicode 2016-09-07 18:02:23 +09:00
poing 267f8444ec Fixing unicode 2016-09-07 18:01:28 +09:00
poing 59a3698a87 Fixing unicode 2016-09-07 17:59:50 +09:00
poing 2f9d2a35dc Fixing unicode 2016-09-07 17:59:05 +09:00
poing d7b47ccf6a Chaged encoding to utf8 2016-09-07 16:52:24 +09:00
poing 080bb6d627 Updated 'RECORD FILE' syntax, included silence detection value 2016-09-06 18:47:21 +09:00
Randall Degges aa47075e30 Merge pull request #22 from GaboFDC/master
Adding use of Sphinx documentation
2016-05-04 17:03:49 -07:00
Randall Degges 1eecd02370 Merge pull request #25 from VoIPCS/chanvars
Make that channel variables will be stored in a dictionary
2016-05-04 17:03:35 -07:00
DarkS a9adb6bf82 Added ignore in decode of received lines, if this fails kill the message_thread 2016-05-03 18:08:47 +02:00
DarkS 0f57960740 Make that channel variables will be stored in a dictionary 2016-05-03 18:06:59 +02:00
almog cohen 53c8d91752 added the EXEC command, which enables running all the possible asterisk commands 2016-03-22 15:08:48 +02:00
GaboFDC 26ac52644c Updated docstring to use rst format 2016-03-08 10:33:39 -05:00
Randall Degges a974c479d2 Version bump. 2016-02-16 13:39:16 -08:00
Randall Degges 7e0dc533de Fixing bug in AGI class.
Fixes #21.
2016-02-16 13:37:36 -08:00
Randall Degges 2dab6612c8 Merge pull request #20 from tuxpowered/testing
Testing Branch for FastAGI support
2015-11-19 17:01:10 -08:00
Ben Davis 1a0b54bbc6 Modified agi.py to accept stdin/out/error to allow support for FastAGI access.
Included new fastagi.py to be used as basic FastAGI server.
2015-11-18 09:48:52 -08:00
Randall Degges d3ba843f00 Version bump. 2015-11-16 12:18:17 -08:00
Scinawa 6623b7cf41 correct line indentation reulting in syntax error 2015-11-16 20:20:04 +01:00
Randall Degges eceb87e84c Version bump. 2015-11-14 23:01:42 -08:00
TuxPowered 6b2c4dac7b Convert Float to string
Corrected where float values passed to _quote need to be converted to string to support .encode()
2015-11-14 13:13:57 -08:00
TuxPowered 1481fb215f Updated string quoting
Converts passed integers and bool to string, used to prevent string.encode() from erroring.
2015-11-14 12:26:07 -08:00
TuxPowered cef87f4241 Force quoted string to ascii
If setting variables to non-ascii values (such as reading data from a database) your script will fail due to UnicodeEncodeError.
My forcing the encoding of the string at the 'quote' to ascii and ignoring non-ascii chars, we are able to prevent abnormal script exits due to quoted string chars.
2015-11-14 03:00:29 -08:00
Randall Degges 61f1090593 Version bump. 2015-07-18 19:18:11 -07:00
Randall Degges 56fddf1f00 Merge pull request #13 from dext0r/utf8
Support utf8 for commands.
2015-07-18 19:16:51 -07:00
Artem Sorokin 46a5ff8d97 Support utf8 for commands. 2015-07-16 15:14:54 +03:00
Randall Degges 875079842b Version bump. 2015-07-15 12:57:46 -07:00
Artem Sorokin be41ef480d Fix multiline command end marker for OpenVox GSM Gateway 2015-07-15 15:47:39 +03:00
Randall Degges fe734a7afa Version bump. 2015-03-31 11:05:02 -07:00
Randall Degges beb54cd6ab Version bump. 2015-03-30 09:32:31 -07:00
Randall Degges e4ed55c479 Version bump! 2015-03-29 00:26:23 -07:00
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 fc8c193dcd Adding module variable __version__. 2011-05-31 17:22:11 -07: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