Answer the question
In order to leave comments, you need to log in
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
, 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
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 questionAsk a Question
731 491 924 answers to any question