Yes. If you want to pass callee number from client rather to replace it on backend, you should comment this line in PHP scriptDo I need to change the content of index.php?
Code:
//$incoming_data['callee'] = "10002";
If you need to call to different numbers, consider to set up more backend applications, for example callee1, callee2 etc. You can switch between them while establishing a client session
Code:
var connectionOptions = {
urlServer: url,
sipOptions: sipOptions,
appKey: callee1
};
console.log("Create new session with url " + url);
Flashphoner.createSession(connectionOptions).on(SESSION_STATUS.ESTABLISHED, function (session) {
...
}