pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/op_panel The Flash Operator panel is a 'switchbo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f2b837e4804d
branches: trunk
changeset: 551127:f2b837e4804d
user: jnemeth <jnemeth%pkgsrc.org@localhost>
date: Mon Dec 08 04:53:28 2008 +0000
description:
The Flash Operator panel is a 'switchboard' application for the Asterisk PBX
system. It displays information about your Asterisk PBX activity in real
time via a standard web browser with Flash plugin. The display and button
layout is configurable, you can have more than a 100 buttons on the screen
at once.
You can see at a glance:
* What extensions are busy, ringing or available
* Who is talking and to whom (clid, context, priority)
* SIP registration status and reachability
* Meetme room status (number of users) in the room
* Queue status (number of users waiting)
* Parked extensions
* Call duration Timers
* Logged in Agents
You can perform these actions:
* Hang-up a channel (double click the colored dot on the button)
* Transfer a call leg via drag&drop (drag the phone icon on a button to
another button)
* Originate calls via drag&drop
* Drag an available extension to an ongoing conversation and conference
the three together.
* Change the callerid text to something meaningfull when transferring or
originating a call
* Mute/Unmute meetme participants
diffstat:
comms/op_panel/DESCR | 28 ++++++++++++
comms/op_panel/MESSAGE | 16 ++++++
comms/op_panel/Makefile | 77 +++++++++++++++++++++++++++++++++
comms/op_panel/PLIST | 36 +++++++++++++++
comms/op_panel/distinfo | 5 ++
comms/op_panel/files/op_panel.conf.dist | 14 ++++++
comms/op_panel/files/op_panel.sh | 20 ++++++++
7 files changed, 196 insertions(+), 0 deletions(-)
diffs (224 lines):
diff -r 3462cedb0ed2 -r f2b837e4804d comms/op_panel/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/op_panel/DESCR Mon Dec 08 04:53:28 2008 +0000
@@ -0,0 +1,28 @@
+The Flash Operator panel is a 'switchboard' application for the Asterisk PBX
+system. It displays information about your Asterisk PBX activity in real
+time via a standard web browser with Flash plugin. The display and button
+layout is configurable, you can have more than a 100 buttons on the screen
+at once.
+
+You can see at a glance:
+
+ * What extensions are busy, ringing or available
+ * Who is talking and to whom (clid, context, priority)
+ * SIP registration status and reachability
+ * Meetme room status (number of users) in the room
+ * Queue status (number of users waiting)
+ * Parked extensions
+ * Call duration Timers
+ * Logged in Agents
+
+You can perform these actions:
+
+ * Hang-up a channel (double click the colored dot on the button)
+ * Transfer a call leg via drag&drop (drag the phone icon on a button to
+ another button)
+ * Originate calls via drag&drop
+ * Drag an available extension to an ongoing conversation and conference
+ the three together.
+ * Change the callerid text to something meaningfull when transferring or
+ originating a call
+ * Mute/Unmute meetme participants
diff -r 3462cedb0ed2 -r f2b837e4804d comms/op_panel/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/op_panel/MESSAGE Mon Dec 08 04:53:28 2008 +0000
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2008/12/08 04:53:28 jnemeth Exp $
+
+You will need to make Flash Operator Panel accessible through your
+HTTP server. If you are running Apache, then you may either symlink
+
+ ${SMDIR}
+
+into DocumentRoot, or add the following line to httpd.conf:
+
+ Include ${PKG_SYSCONFDIR}/${FOP}.conf
+
+Please see the instructions at http://www.asternic.org/documentation.html
+for instructions on how to setup the Flash Operator Panel.
+
+===========================================================================
diff -r 3462cedb0ed2 -r f2b837e4804d comms/op_panel/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/op_panel/Makefile Mon Dec 08 04:53:28 2008 +0000
@@ -0,0 +1,77 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/08 04:53:28 jnemeth Exp $
+#
+
+DISTNAME= op_panel-0.29
+CATEGORIES= comms
+MASTER_SITES= http://www.asternic.org/files/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.asternic.org/
+COMMENT= Flash Operator Panel for Asterisk
+#LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+FOP= op_panel
+MESSAGE_SUBST+= FOP=${FOP}
+
+RCD_SCRIPTS+= ${FOP}
+
+USE_LANGUAGES= # none
+NO_BUILD= yes
+USE_TOOLS+= perl:run
+REPLACE_PERL+= op_server.pl
+
+PKG_GROUPS_VARS= APACHE_GROUP
+PKG_USERS_VARS= APACHE_USER
+
+PKG_SYSCONFSUBDIR= ${FOP}
+MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/${FOP}
+SMDIR= ${PREFIX}/share/${FOP}
+
+MESSAGE_SUBST+= SMDIR=${SMDIR}
+FILES_SUBST+= SMDIR=${SMDIR}
+
+CONF_FILES= ${EGDIR}/op_astdb.cfg ${PKG_SYSCONFDIR}/op_astdb.cfg
+CONF_FILES+= ${EGDIR}/op_buttons.cfg ${PKG_SYSCONFDIR}/op_buttons.cfg
+CONF_FILES+= ${EGDIR}/op_lang_ca.cfg ${PKG_SYSCONFDIR}/op_lang_ca.cfg
+CONF_FILES+= ${EGDIR}/op_lang_de.cfg ${PKG_SYSCONFDIR}/op_lang_de.cfg
+CONF_FILES+= ${EGDIR}/op_lang_en.cfg ${PKG_SYSCONFDIR}/op_lang_en.cfg
+CONF_FILES+= ${EGDIR}/op_lang_es.cfg ${PKG_SYSCONFDIR}/op_lang_es.cfg
+CONF_FILES+= ${EGDIR}/op_lang_gl.cfg ${PKG_SYSCONFDIR}/op_lang_gl.cfg
+CONF_FILES+= ${EGDIR}/op_lang_it.cfg ${PKG_SYSCONFDIR}/op_lang_it.cfg
+CONF_FILES+= ${EGDIR}/op_lang_no.cfg ${PKG_SYSCONFDIR}/op_lang_no.cfg
+CONF_FILES+= ${EGDIR}/op_lang_ru.cfg ${PKG_SYSCONFDIR}/op_lang_ru.cfg
+CONF_FILES+= ${EGDIR}/op_lang_se.cfg ${PKG_SYSCONFDIR}/op_lang_se.cfg
+CONF_FILES+= ${EGDIR}/op_server.cfg ${PKG_SYSCONFDIR}/op_server.cfg
+CONF_FILES+= ${EGDIR}/op_style.cfg ${PKG_SYSCONFDIR}/op_style.cfg
+CONF_FILES+= ${EGDIR}/op_panel.conf ${PKG_SYSCONFDIR}/op_panel.conf
+
+SUBST_CLASSES+= paths
+SUBST_FILES.paths= ${WRKDIR}/${FOP}.conf.dist
+SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
+SUBST_SED.paths+= -e 's,@SMDIR@,${SMDIR},g'
+SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
+SUBST_SED.paths+= -e 's,@PERL5@,${PERL5},g'
+SUBST_STAGE.paths= post-patch
+
+INSTALLATION_DIRS+= share/examples/${FOP}
+INSTALLATION_DIRS+= share/${FOP}
+INSTALLATION_DIRS+= libexec
+
+post-extract:
+ cp ${FILESDIR}/${FOP}.conf.dist \
+ ${WRKDIR}/${FOP}.conf.dist
+
+do-install:
+ ${INSTALL_DATA} ${WRKDIR}/${FOP}.conf.dist ${DESTDIR}${EGDIR}/${FOP}.conf
+ cp ${WRKSRC}/flash/* ${DESTDIR}${SMDIR}
+ chown -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${SMDIR}
+ find ${DESTDIR}${SMDIR} -type d -exec chmod ${PKGDIRMODE} {} \;
+ find ${DESTDIR}${SMDIR} -type f -exec chmod ${SHAREMODE} {} \;
+ ${INSTALL_SCRIPT} ${WRKSRC}/op_server.pl ${DESTDIR}${PREFIX}/libexec/op_server.pl
+ ${INSTALL_DATA} ${WRKSRC}/op_*.cfg ${DESTDIR}${EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 3462cedb0ed2 -r f2b837e4804d comms/op_panel/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/op_panel/PLIST Mon Dec 08 04:53:28 2008 +0000
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/08 04:53:28 jnemeth Exp $
+libexec/op_server.pl
+share/examples/op_panel/op_astdb.cfg
+share/examples/op_panel/op_buttons.cfg
+share/examples/op_panel/op_lang_ca.cfg
+share/examples/op_panel/op_lang_de.cfg
+share/examples/op_panel/op_lang_en.cfg
+share/examples/op_panel/op_lang_es.cfg
+share/examples/op_panel/op_lang_fr.cfg
+share/examples/op_panel/op_lang_gl.cfg
+share/examples/op_panel/op_lang_it.cfg
+share/examples/op_panel/op_lang_no.cfg
+share/examples/op_panel/op_lang_ru.cfg
+share/examples/op_panel/op_lang_se.cfg
+share/examples/op_panel/op_panel.conf
+share/examples/op_panel/op_server.cfg
+share/examples/op_panel/op_style.cfg
+share/examples/rc.d/op_panel
+share/op_panel/crossdomain.xml
+share/op_panel/help_de.html
+share/op_panel/help_en.html
+share/op_panel/help_es.html
+share/op_panel/help_fr.html
+share/op_panel/help_it.html
+share/op_panel/help_no.html
+share/op_panel/help_ru.html
+share/op_panel/help_se.html
+share/op_panel/index-clicktodial.html
+share/op_panel/index-crm.html
+share/op_panel/index-fixed.html
+share/op_panel/index-restrict.html
+share/op_panel/index.html
+share/op_panel/mypage.php
+share/op_panel/operator_panel.swf
+@dirrm share/examples/op_panel
+@dirrm share/op_panel
diff -r 3462cedb0ed2 -r f2b837e4804d comms/op_panel/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/op_panel/distinfo Mon Dec 08 04:53:28 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/08 04:53:28 jnemeth Exp $
+
+SHA1 (op_panel-0.29.tar.gz) = 54ceb13340401cbc1fba91cd9a83f71732a59820
+RMD160 (op_panel-0.29.tar.gz) = d863b601dc8785beb9be0e05db0d54e557452ed1
+Size (op_panel-0.29.tar.gz) = 354416 bytes
diff -r 3462cedb0ed2 -r f2b837e4804d comms/op_panel/files/op_panel.conf.dist
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/op_panel/files/op_panel.conf.dist Mon Dec 08 04:53:28 2008 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: op_panel.conf.dist,v 1.1.1.1 2008/12/08 04:53:28 jnemeth Exp $
+#
+# Flash Operator Panel configuration file fragment for Apache
+
+<IfModule mod_alias.c>
+ Alias /panel/ "@SMDIR@/"
+</IfModule>
+
+<Directory "@SMDIR@">
+ Options None
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+</Directory>
diff -r 3462cedb0ed2 -r f2b837e4804d comms/op_panel/files/op_panel.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/op_panel/files/op_panel.sh Mon Dec 08 04:53:28 2008 +0000
@@ -0,0 +1,20 @@
+#!@RCD_SCRIPTS_SHELL@
+
+# PROVIDE:
+# REQUIRE: login
+# KEYWORD:
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="op_panel"
+rcvar=$name
+command="@PREFIX@/libexec/op_server.pl"
+command_interpreter="@PERL5@"
+pidfile="/var/run/$name.pid"
+required_files="@PKG_SYSCONFDIR@/op_server.cfg"
+extra_commands="reload"
+
+command_args="-d -c @PKG_SYSCONFDIR@"
+
+load_rc_config $name
+run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index