Cleared out some warnings.
Minor changes done to adapt to the Alice PBX layer.