Share

pyst: Python for Asterisk

Tracker: Patches

5 Small changes proposed - ID: 2614565
Last Update: Attachment added ( prashantjois )

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


Prashant Jois ( prashantjois ) - 2009-02-19 00:51

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
pyst.patch patch with proposed changes Download

Change ( 1 )

Field Old Value Date By
File Added 314150: pyst.patch 2009-02-19 00:51 prashantjois