convert to cordova plugin with install
check telephone availability