I don't see that the CallNumber plugin is installed. If it is, you should ensure that it is saved to your config.xml via "cordova plugin add ... --save". If you're intending on using CallNumber, then I'd comment out the location.href line.
The allow-intent for tel: in your config.xml file should be sufficient; I'd remove the access-origin lines for tel:.
Of course, you might also not ever be executing the code you've listed. You can use a debugger or console.log("...") to verify that you are getting to the right portion of your code.