Displaying 2 results from an estimated 2 matches for "array_shift".
2009 Mar 26
3
show pri usage
Hi,
I would like to know how to see which channels are used in my PRI E1 link from Asterisk to another locally-connected commercial PBX.
If I run "dahdi show channels", I can see the used channels in the second column "extension" but only if it's an "incoming" call (ie. legacy PBX to Asterisk).
If I dial from an Asterisk extension to an extension in the other
2005 Apr 04
0
io timeout after 180 seconds
...}
if ($b_reinit) {
~ reInitBackups();
~ exit;
}
if (empty($options[1][1])) {
~ writeln('Error: Backup type not specified' . "\n");
~ showUsage($args[0]);
~ exit;
}
// grab the backup type from the command line
$s_backupType = $options[1][1];
if ($b_debug) {
~ array_shift($args);
~ writeln('Debug mode is ON.');
~ writeln('Arguments received: ' . implode(' ', $args));
~ writeln('Configuration names: ' . implode(',', $a_configNames));
~ writeln('Backup type: ' . $s_backupType);
}
if ($b_dryRun) {
~ writel...