Hi,
Testing egw-pbx with an asterisk server on a machine and egrouwpare on an other machine, both on the same lan...
egw-pbx wants to run a script like this one with "webuser" (www):
#!/bin/bash
# script for Voiper-OS Actions
case "$1" in
asterisk-restart)
/etc/init.d/asterisk restart
;;
asterisk-reload)
asterisk -rx "reload"
;;
asterisk-sip-reload)
asterisk -rx "sip reload"
;;
asterisk-extensions-reload)
asterisk -rx "extensions reload"
;;
panel-restart)
/etc/init.d/op_panel restart
;;
astmanproxy-restart)
/etc/init.d/astmanproxy restart
;;
copy)
cp $2 $3
;;
remove)
rm $2
;;
*)
echo "Usage: $0 {asterisk-restart|asterisk-sip-reload|asterisk-extensions-reload|panel-restart|astmanproxy-restart}"
exit 2
;;
esac
exit 0
The script will be called from egroupware machine, but I don't know how to do that.
Once connected to the module with admin account, I get a GUI to manage asterisk (supported language are english and german):
pbx Menu:
---------------
Global settings
User management
Call groups
Queues
Provider/location
Voice menu
Voice box
Conferences
User Conferences
Call plan
Panel
Locks
The module creates trunks, routes, dialplan... It associates extensions to egw users which is the cool part.
It does manage asterisk in a simple way but requirements are not suitable when asterisk and egroupware servers are on different machines. In my case, production servers are sme7/seltintra and sme8/egw.
The module would be a solution when:
- asterisk and egw can live on the same system
- there is no need for a complete solution like selintra/freepbx
- users can use english or german languages
- the project is better supported
- sysadmin knows how to manually setup and manage other asterisk conf's
I won't be using this module. Most of "my" users don't read english (a dial plan would sound like a telemarketing skeem, a pbx would sound like a TV channel).
It was a close call tho!