Revision a7951d4a
Added by Ermal LUÇI about 14 years ago
etc/inc/wizardapp.inc | ||
---|---|---|
167 | 167 |
|
168 | 168 |
/* asterisk server / same as vonage */ |
169 | 169 |
$voiplist['Asterisk'] = array(); |
170 |
$voiplist['Asterisk'][] = array($_POST['provider'], 'udp', '5060', '5069', 'both');
|
|
171 |
$voiplist['Asterisk'][] = array($_POST['provider'], 'udp', '10000', '20000', 'both');
|
|
170 |
$voiplist['Asterisk'][] = array('Asterisk', 'udp', '5060', '5069', 'both');
|
|
171 |
$voiplist['Asterisk'][] = array('Asterisk', 'udp', '10000', '20000', 'both');
|
|
172 | 172 |
|
173 | 173 |
/* VoicePulse server */ |
174 | 174 |
$voiplist['VoicePulse'] = array(); |
usr/local/www/wizards/traffic_shaper_wizard.inc | ||
---|---|---|
570 | 570 |
} |
571 | 571 |
|
572 | 572 |
function apply_all_choosen_items() { |
573 |
global $config, $g, $altq_list_queues, $gamesplist; |
|
573 |
global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist;
|
|
574 | 574 |
|
575 | 575 |
require_once("wizardapp.inc"); |
576 | 576 |
|
usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | ||
---|---|---|
602 | 602 |
} |
603 | 603 |
|
604 | 604 |
function apply_all_choosen_items() { |
605 |
global $config, $g, $altq_list_queues, $gamesplist; |
|
605 |
global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist;
|
|
606 | 606 |
|
607 | 607 |
require_once("wizardapp.inc"); |
608 | 608 |
|
usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc | ||
---|---|---|
635 | 635 |
} |
636 | 636 |
|
637 | 637 |
function apply_all_choosen_items() { |
638 |
global $config, $g, $altq_list_queues, $gamesplist; |
|
638 |
global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist;
|
|
639 | 639 |
|
640 | 640 |
require_once("wizardapp.inc"); |
641 | 641 |
|
usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc | ||
---|---|---|
428 | 428 |
} |
429 | 429 |
|
430 | 430 |
function apply_all_choosen_items() { |
431 |
global $config, $g, $altq_list_queues, $gamesplist; |
|
431 |
global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist;
|
|
432 | 432 |
|
433 | 433 |
require_once("wizardapp.inc"); |
434 | 434 |
|
Also available in: Unified diff
Declare the arrays as global since that is what they are. Correct the name of asterisk in the global defniition.