You need to add this code to the agc/vicidial.php file:
1- Add this variable around line 4708
var source = null
/** | |
* Once this scipt is executed it will connect to the local port you have assigned to | |
* Asterisk (default: 5038) and send an authentication request. If successfull, it will | |
* send a second request to originate your call. | |
* | |
* The internal SIP line $internalPhoneline will be dialed, and when picked up the | |
* $target phone will be dialed using your outbound calls context ($context). | |
* | |
* Of course, you can modify the commands sent to the asterisk manager interface to suit your needs. | |
* you can find more about the available options at: |
class Queue { | |
constructor() { | |
this.list = [] | |
this.head = 0 | |
} | |
push(e) { this.list.push(e) } | |
pop() { return this.list[this.head++] } | |
empty() { return this.list.length == this.head } | |
} |
<?php | |
enum Grade: string | |
{ | |
case PASS = 'pass'; | |
case FAIL = 'fail'; | |
case A = 'A'; | |
case F = 'F'; | |
case INVALID = 'Invalid grade!\n'; |
<?php | |
namespace App\Extension\Paypal\Traits; | |
use Carbon\Carbon; | |
trait Filters | |
{ | |
/** | |
* @var array |