Y
Y
Yuri Paimurzin2021-11-01 08:36:57
Bitrix24
Yuri Paimurzin, 2021-11-01 08:36:57

How to set the selected telephone line at the stage of installing your application (in code)?

when developing an application, set the selected telephone line at the stage of installing your application,
how can this be implemented in the code
617f7a8570d47984941179.png

, maybe there is something similar by analogy with the call registration example:

$result = restCommand('telephony.externalCall.register',
                array(
                    "USER_ID" => $_REQUEST['data']['USER_ID'],
                    "PHONE_NUMBER"   => $_REQUEST['data']['PHONE_NUMBER'],
                    "TYPE" => '1',
                    "CRM_CREATE" => 1
                ),
                $b24domain, $appsConfig['AUTH_ID']);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2021-11-03
@gromdron

From the application, you can not control it in any way.
This option is configured in the telephony section as an outgoing line by default.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question