Updates to readme and minor bug fix for debug

Added some notes to readme for later versions of Asterisk and made a minor fix to the code to allow debug to be set to false.