API Version: Development
<script src="http://pabx.hostname/api/api.js" />
<script src="http://pabx.hostname/cinclude/adapter.js"></script>
<script src="http://pabx.hostname/api/api.js"></script>
<script src="http://pabx.hostname/cinclude/adapter.js"></script>
<script src="http://pabx.hostname/api/jssip/jssip.js"></script>
<script src="http://pabx.hostname/api/api.js"></script>
onAPILoadReady()
which will be called when the API is loaded. Choose one of:<script src="http://pabx.hostname/api/wrapper.whtm"></script>
<script src="http://pabx.hostname/api/wrapper_av.whtm"></script>
<script src="http://pabx.hostname/api/wrapper_kphone.whtm"></script>
<script src="http://pabx.hostname/api/wrapper_lite.whtm"></script>
onAPILoadReady
as per the following example:<script>
function onAPILoadReady() {
console.log('API ready to proceed');
/* Your code here */
}
</script>
npm install --save ipcortex/node-api
var IPCortex = require('ipcortex-pabx');