AGISTATUS allways return Success

Thanks for your answer. i’m starting with Asterisk. Could you give me an example of how can i set a variable in the python script, please?