[asterisk-dev] Question about starpy-1.0.2 ownership
Bob
us at rr3weather.com
Thu Dec 6 13:45:29 CST 2012
I am using Asterisk 1.8 and python 2.6 on a "PBX in a Flash" 2.0.6.2
platform.
I obtained a starpy package from what I thought to be a digium web
site. It does not show up on Internet searches. Somehow I stumbled
onto it. The file name is asterisk-org-starpy-1.0.1-14-gdb7421d.zip.
It claims to be starpy-1.0.2.
I am having a problem with the starpy manager (AMI) module and the
dbGet method. When I query the AstDB using "dbGet" and the item is
not in the AstDB, starpy posts a "AMICommandFailure" exception due
to Asterisk AMI returning "Response: Error" with "Message:
Database entry not found".
I have searched the Internet and the digium web sites and I could
not find others having this issue.
I looked at the manager.py file and it appears to me that the
"dbGet" method seems to be incomplete as to how it handles the
"Response: Error".
I made changes to the manager.py file to handle the "Response:
Error" and it seems to work well. The summery of the change is
to develop a way to call a deferred function and return None when
this happens.
Is there anyone supporting this package file? If so, would you
be interested in seeing the changes I made?
Thanks,
Bob
More information about the asterisk-dev
mailing list