Answer the question
In order to leave comments, you need to log in
How to transfer Caller ID to VoxEngine?
There is a script:
// подключаем модуль записи
require(Modules.Recorder);
// устанавливаем прослушиватель события звонка - включаем запись разговора
VoxEngine.addEventListener(AppEvents.CallAlerting, function (e) {
var call = e.call, // экземпляр звонка
recorder = VoxEngine.createRecorder(); // создаем экземпляр записывающего "магнитофона"
// как только установлено соединение - включаем запись
call2.addEventListener(CallEvents.Connected, function (callevent) {
call.sendMediaTo(recorder);
});
});
// совершаем сам звонок
VoxEngine.forwardCallToPSTN();
Answer the question
In order to leave comments, you need to log in
The forwardCallToPSTN method does not provide for passing the Caller ID, for this you need to use the voximplant.com/docs/references/appengine/VoxEngine... method , see the second parameter. And then connect this outgoing call with the call from the SDK via easyProcess voximplant.com/docs/references/appengine/VoxEngine...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question