title: astcanary vs python script in asterisk
body: <p>I am setting up a new voip system. The system is an Asterisk backend. I have a python script that verifies customer data when they call into technical support. When I trigger the script in the call IVR menu, I get return 0 and the script does not actually execute.  I did:</p>
  
  <p>asterisk -rx "core stop now"</p>
  
  <p>asterisk -vvvvgc</p>
  
  <p>Once I did that, the script ran with no problems. I can go through the whole menu, verify the customer information and transfer the call to tech support extension.  But Icinga shows that astcanary is no longer running and is showing as critical on the monitoring. If I restart asterisk/telephony services, astcanary is showing as ok but my script no longer runs. The script once again returns 0 and does not do what it is supposed to. </p>
  
  <p>Does anyone have any ideas what this conflict seems to be related about? I have monitored my server for CPU usage but the python script is not idling high usage and barely hits 0.5% when actually running (I'm using htop to watch the processes when doing this)  Any thoughts or ideas will be welcomed and looked at!  Thanks. </p>