WIP Contract/Billing 2024-07-04
This commit is contained in:
21
scripts/voice/add-contract-ids.php
Normal file
21
scripts/voice/add-contract-ids.php
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
|
||||
//require 'vendor/autoload.php';
|
||||
require("../../config/config.php");
|
||||
|
||||
define('FRONKDB_SQLDEBUG',false);
|
||||
error_reporting(E_ALL & ~(E_NOTICE | E_STRICT | E_DEPRECATED));
|
||||
|
||||
require_once(LIBDIR."/mvcfronk/mfRouter/mfRouter.php");
|
||||
require_once(LIBDIR."/mvcfronk/mfBase/mfBaseModel.php");
|
||||
require_once(LIBDIR."/mvcfronk/mfBase/mfBaseController.php");
|
||||
|
||||
$me = new User(1);
|
||||
|
||||
define("INTERNAL_USER_ID", $me->id);
|
||||
define("INTERNAL_USER_USERNAME", $me->username);
|
||||
|
||||
$vchc = new VoiceCallHistoryController(false);
|
||||
|
||||
$vchc->addContractIds();
|
||||
6773
scripts/voice/unknown-numbers
Normal file
6773
scripts/voice/unknown-numbers
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user