...Человеческий поиск в разработке...
- Модуль: sender
- Путь к файлу: ~/bitrix/modules/sender/lib/integration/voximplant/transportcall.php
- Класс: Bitrix\Sender\Integration\VoxImplant\TransportCall
- Вызов: TransportCall::send
public function send(Message\Adapter $message) { $outputNumber = $message->getConfiguration()->get('OUTPUT_NUMBER'); $number = $message->getTo(); $text = $message->getConfiguration()->get('MESSAGE_TEXT'); $text = $message->replaceFields($text); $voiceLanguage = $message->getConfiguration()->get('VOICE_LANGUAGE'); $voiceSpeed = $message->getConfiguration()->get('VOICE_SPEED'); $voiceVolume = $message->getConfiguration()->get('VOICE_VOLUME'); $callId = Service::send( $outputNumber, $number, $text, $voiceLanguage, $voiceSpeed, $voiceVolume ); if ($callId && $message->getRecipientId()) { CallLogTable::add(array( 'CALL_ID' => $callId, 'RECIPIENT_ID' => $message->getRecipientId() )); } return !!$callId; }