本文整理汇总了PHP中A2Billing::callingcard_ivr_authenticate_light方法的典型用法代码示例。如果您正苦于以下问题:PHP A2Billing::callingcard_ivr_authenticate_light方法的具体用法?PHP A2Billing::callingcard_ivr_authenticate_light怎么用?PHP A2Billing::callingcard_ivr_authenticate_light使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类A2Billing
的用法示例。
在下文中一共展示了A2Billing::callingcard_ivr_authenticate_light方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: RateEngine
continue;
}
if ($result_search_phonestatus[0][1] == 0) {
if ($verbose_level >= 1) {
echo "\n[ Can't send callback -> number {$phone['1']} is not in the frequency ]";
}
continue;
}
} else {
$action = "insert";
}
// Search Road...
$A2B->set_instance_table($instance_table);
$A2B->cardnumber = $phone["username"];
$error_msg = '';
if ($A2B->callingcard_ivr_authenticate_light($error_msg)) {
$RateEngine = new RateEngine();
$RateEngine->webui = 0;
// LOOKUP RATE : FIND A RATE FOR THIS DESTINATION
$A2B->agiconfig['accountcode'] = $phone["username"];
$A2B->agiconfig['use_dnid'] = 1;
$A2B->agiconfig['say_timetocall'] = 0;
$A2B->dnid = $A2B->destination = $phone["number"];
$resfindrate = $RateEngine->rate_engine_findrates($A2B, $phone["number"], $phone["tariff"]);
// IF FIND RATE
if ($resfindrate != 0) {
$res_all_calcultimeout = $RateEngine->rate_engine_all_calcultimeout($A2B, $A2B->credit);
if ($res_all_calcultimeout) {
// MAKE THE CALL
if ($RateEngine->ratecard_obj[0][34] != '-1') {
$usetrunk = 34;