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