diff options
author | Mark Crane <mcrane@pfsense.org> | 2008-12-09 08:00:40 +0000 |
---|---|---|
committer | Mark Crane <mcrane@pfsense.org> | 2008-12-09 08:00:40 +0000 |
commit | fe181dc321cb27e99244081c4319bbf52227e04e (patch) | |
tree | 83a452cd8e6a3ebac97f7f8528333cc5a4e06614 /packages/freeswitch/freeswitch.inc | |
parent | ebe363b50fd9357ba9d3c44c8e942f892363fcb3 (diff) | |
download | pfsense-packages-fe181dc321cb27e99244081c4319bbf52227e04e.tar.gz pfsense-packages-fe181dc321cb27e99244081c4319bbf52227e04e.tar.bz2 pfsense-packages-fe181dc321cb27e99244081c4319bbf52227e04e.zip |
FreeSWITCH add global config to recording_js
Diffstat (limited to 'packages/freeswitch/freeswitch.inc')
-rw-r--r-- | packages/freeswitch/freeswitch.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/freeswitch/freeswitch.inc b/packages/freeswitch/freeswitch.inc index d9d6b998..c0b9ee29 100644 --- a/packages/freeswitch/freeswitch.inc +++ b/packages/freeswitch/freeswitch.inc @@ -142,8 +142,7 @@ function event_socket_request($fp, $cmd) function event_socket_request_cmd($cmd) { - global $config; - + global $config; $password = $config['installedpackages']['freeswitchsettings']['config'][0]['event_socket_password']; $port = $config['installedpackages']['freeswitchsettings']['config'][0]['event_socket_port']; $host = $config['interfaces']['lan']['ipaddr']; @@ -159,7 +158,8 @@ function event_socket_request_cmd($cmd) function recording_js() { - + + global $config; $admin_pin = $config['installedpackages']['freeswitchsettings']['config'][0]['admin_pin']; $fout = fopen("/usr/local/freeswitch/scripts/recordings.js","w"); |