AGI with wrong ${AGISTATUS} Value

Home » Asterisk Users » AGI with wrong ${AGISTATUS} Value
Asterisk Users No Comments

Hi everybody

We’re facing a strange problem with Asterisk (1.8.2.3) executing an AGI. The script (python) is updated and after a invocation by the dialplan, the new code is executed but the ${AGISTATUS} variable shows the wrong value. The right value only appears if a ‘core reload’ is executed at the CLI. Is this the right way to do (does the asterisk “caches” the script source code) or is this a bug?

Regards
Antônio Theóphilo