Hello,
I'm not sure if this project is still maintained, but I made some
modifications to the source that some may be useful. To the AGI class
variables, I changed the retrieval method from using the env dictionary to
having variables directly access the passed value.
e.g. Instead of using
var = agi.env['agi_request']
it now uses:
var = agi.request
I found this to be much simpler.
I also added the environment variables as class variables.
e.g. the following would yield '/etc/asterisk'
agi.CONFIG_DIR
Let me know what you think
Nobody/Anonymous
None
None
Public
| Filename | Description | Download |
|---|---|---|
| pyst.patch | patch with proposed changes | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 314150: pyst.patch | 2009-02-19 00:51 | prashantjois |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use