$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']);