Koozali.org: home of the SME Server

egw-pbx anyone?

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
egw-pbx anyone?
« on: May 12, 2009, 12:20:45 AM »
Is there anyone who could share a return on experience about integrating egroupware and selintra with the package egw-pbx?

http://sourceforge.net/forum/forum.php?forum_id=893685
Sophie from Montréal

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: egw-pbx anyone?
« Reply #1 on: May 12, 2009, 03:25:13 PM »
What does it do Sophie??

I looked at what little documentation there is and I couldn't make head or tail of it.

Best

S

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: egw-pbx anyone?
« Reply #2 on: May 12, 2009, 04:01:05 PM »
This project has 2 parts:
- egroupware module
- asterisk conf files (macros)

It wants to talk directly to asterisk to manage a trunk and uses macros on the pbx. There is an admin panel and each user has its own panel showing calls.

I'm building a test pbx in a vm, using my production pbx (selintra) as a voip provider. I don't want egw-pbx to mess with asterisk conf.

The projects has low activity (not much for the last year) and documentation on the web is hard to find.

I'll be back with more later on.
Sophie from Montréal

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: egw-pbx anyone?
« Reply #3 on: May 12, 2009, 06:13:44 PM »
OK - I'll keep watch.

you can add macros and custome code to SAIL using the custom-app facility.  We do it all the time when testing. Just create a customapp with any old name and copy and paste your macros into it.

Best

S

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: egw-pbx anyone?
« Reply #4 on: May 13, 2009, 04:00:58 PM »
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):
Quote
#!/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):
Quote
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!
Sophie from Montréal