diff options
author | jnemeth <jnemeth@pkgsrc.org> | 2008-12-08 04:53:28 +0000 |
---|---|---|
committer | jnemeth <jnemeth@pkgsrc.org> | 2008-12-08 04:53:28 +0000 |
commit | e4fe08a94f7d4e2fcd0fa54db1dcfcbfa57f226d (patch) | |
tree | 1fe3fb8b681b6d1fe9f172c572557e6ca1f4eca0 /comms | |
parent | 1646e0e35cb67315676c8d4e8da7e98595982e42 (diff) | |
download | pkgsrc-e4fe08a94f7d4e2fcd0fa54db1dcfcbfa57f226d.tar.gz |
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 (limited to 'comms')
-rw-r--r-- | comms/op_panel/DESCR | 28 | ||||
-rw-r--r-- | comms/op_panel/MESSAGE | 16 | ||||
-rw-r--r-- | comms/op_panel/Makefile | 77 | ||||
-rw-r--r-- | comms/op_panel/PLIST | 36 | ||||
-rw-r--r-- | comms/op_panel/distinfo | 5 | ||||
-rw-r--r-- | comms/op_panel/files/op_panel.conf.dist | 14 | ||||
-rw-r--r-- | comms/op_panel/files/op_panel.sh | 20 |
7 files changed, 196 insertions, 0 deletions
diff --git a/comms/op_panel/DESCR b/comms/op_panel/DESCR new file mode 100644 index 00000000000..e298965276e --- /dev/null +++ b/comms/op_panel/DESCR @@ -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 --git a/comms/op_panel/MESSAGE b/comms/op_panel/MESSAGE new file mode 100644 index 00000000000..7c44f9aab75 --- /dev/null +++ b/comms/op_panel/MESSAGE @@ -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 --git a/comms/op_panel/Makefile b/comms/op_panel/Makefile new file mode 100644 index 00000000000..a39934aa3e6 --- /dev/null +++ b/comms/op_panel/Makefile @@ -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 +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 --git a/comms/op_panel/PLIST b/comms/op_panel/PLIST new file mode 100644 index 00000000000..c93355471ab --- /dev/null +++ b/comms/op_panel/PLIST @@ -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 --git a/comms/op_panel/distinfo b/comms/op_panel/distinfo new file mode 100644 index 00000000000..d92afe323d2 --- /dev/null +++ b/comms/op_panel/distinfo @@ -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 --git a/comms/op_panel/files/op_panel.conf.dist b/comms/op_panel/files/op_panel.conf.dist new file mode 100644 index 00000000000..61ec0b6627a --- /dev/null +++ b/comms/op_panel/files/op_panel.conf.dist @@ -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 --git a/comms/op_panel/files/op_panel.sh b/comms/op_panel/files/op_panel.sh new file mode 100644 index 00000000000..fead77534c6 --- /dev/null +++ b/comms/op_panel/files/op_panel.sh @@ -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" |