op-panel (0.30~dfsg-3) cfgcomments

Summary

 op_astdb.cfg   |    3 +++
 op_buttons.cfg |    3 +++
 op_server.cfg  |    4 ++--
 3 files changed, 8 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Author: Alejandro Rios P. <alejandro.rios@avatar.com.co>
Description: Fix sample configuration

Debian-specific fixes to the sample configuration.
 - reference the examples.
 - Connect to Asterisk on localhost by default.
 - The .swf file is in /usr/share/op-panel/flash .

--- a/op_astdb.cfg
+++ b/op_astdb.cfg
@@ -1,3 +1,6 @@
+; Here you can configure Asterisk Database settings for op-panel.
+; See /usr/share/doc/op-panel/examples
+
 ; FOP will ask for the value of the asterisk database families
 ; specified between brackets. If the value is non empty, it will
 ; send the commands to the flash client. Note that the family
--- a/op_buttons.cfg
+++ b/op_buttons.cfg
@@ -1,3 +1,6 @@
+; Here you can configure button settings for op-panel.
+; See /usr/share/doc/op-panel/examples
+
 [SIP/10]              ; Channel name
 Position=1            ; Button number in the console
 Label="10 Fax"        ; Text label for the button
--- a/op_server.cfg
+++ b/op_server.cfg
@@ -3,7 +3,7 @@
 use_amportal_conf=0;
 
 ; host or ip address of asterisk
-manager_host=192.168.0.1
+manager_host=127.0.0.1
 manager_port=5038
 ; user and secret for connecting to * manager
 manager_user=user
@@ -53,7 +53,7 @@ auth_md5=1
 
 ; location of the .swf file in your disk (must reside somewhere
 ; inside your web root)
-flash_dir=/var/www/html/panel
+flash_dir=/usr/share/op-panel/flash
 
 ; secret code for performing hangups and transfers
 security_code=dkd4393kld