Koozali.org: home of the SME Server

[CONTRIB UPDATE] smeserver-trixbox.fws_beta4

Offline jmbac

  • *
  • 35
  • +0/-0
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #15 on: October 15, 2007, 08:28:08 AM »
Sorry it took while to reply.. I noticed that line while running the script trixbox.sh it appears something is missing on the db command..

smeserver-trixbox.fws base contains:
        * asterisk, the core of this package
        * freePBX, a php interface for asterisk's configuration
        * Flash Operator Panel, a flash application which allows you to control asterisk in real time through a web page
        * Recordings, a php application which allows users to listen their messages and change some settings of their account


 ----------------------------------------------------------------
|   Installing.............                                      |
|                                                                |
|   This can take some time...                                   |
 ---------------------------------------------------------------

/sbin/e-smith/db dbfile set key type [prop1 val1] [prop2 val2] ...
-------------------------------------------
Adding the user and group asterisk
-------------------------------------------
Adding group asterisk...
adding user asterisk...
-------------------------------------------
Creating WEBROOT directory
------------------------------------------

Thanks
jon

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #16 on: October 15, 2007, 11:33:06 AM »
You have a problem on these lines of the script:

Code: [Select]
# On inscrit la version, ça pourra être utile pour des MaJ
                /sbin/e-smith/db trixbox set version beta4

                # Pour les URL on inscrit une valeur dans la DB account pour le réserver
                for URL in panel recordings; do
                                /sbin/e-smith/db accounts set $URL asterisk-url comment 'reserved url for asterisk'
                done
                # Idem pour l'utilisateur asterisk
                /sbin/e-smith/db accounts set asterisk system-user comment 'reserved account for asterisk'
Can you try to type it manually (copy/past the lines)
C'est la fin du monde !!! :lol:

Offline jmbac

  • *
  • 35
  • +0/-0
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #17 on: October 15, 2007, 05:18:11 PM »
Thanks for your  prompt reply..
I'm still getting the same error, I tried typing and pasting still the same..  and this on updated smeserver 7.2.. Does it work for you?

Thanks in advance..
John..

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #18 on: October 15, 2007, 05:33:23 PM »
Yes, it's working for me and all the server on wich I've installed this contrib (about 8)

Try to type the following lines, one by one:

Code: [Select]
/sbin/e-smith/db accounts set panel asterisk-url comment 'reserved url for asterisk'
 /sbin/e-smith/db accounts set recordings asterisk-url comment 'reserved url for asterisk'
 /sbin/e-smith/db accounts set asterisk system-user comment 'reserved account for asterisk'

And tell me which one gives the error.
Does the contrib works for you even if you have an error message, or does the install stop?
C'est la fin du monde !!! :lol:

Offline jmbac

  • *
  • 35
  • +0/-0
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #19 on: October 15, 2007, 06:59:29 PM »
Thanks again,
All the three dbs work ok except $URL for asterisk

#/sbin/e-smith/db accounts set panel asterisk-url comment 'reserved url for asterisk'
#
#/sbin/e-smith/db accounts set recordings asterisk-url comment 'reserved url for asterisk'
#
# /sbin/e-smith/db accounts set asterisk system-user comment 'reserved account for asterisk'
#
#/sbin/e-smith/db accounts set $URL asterisk-url comment 'reserved url for asterisk'
/sbin/e-smith/db dbfile set key type [prop1 val1] [prop2 val2] ...
#

It's seems to work ok. with the error .  still testing..
« Last Edit: October 15, 2007, 07:10:15 PM by jmbac »

Offline jmbac

  • *
  • 35
  • +0/-0
/panels/op_server.cfg.fws: No such file or directory
« Reply #20 on: October 17, 2007, 04:20:28 PM »
This file is missing.. $WEBROOT/panels/op_server.cfg.fws from the latest install script

# sed -e "s/__ASTERISK_MANAGER_USER__/$ASTERISK_MANAGER_USER/g" $CD/webapps/freepbx/op_server.cfg | sed -e "s/__ASTERISK_MANAGER_PASS__/$ASTERISK_MANAGER_PASS/g" | sed -e "s/__FOP_PASS__/$FOP_PASS/g" | sed -e "s/fop_webroot/$FOPROOT/g" > $WEBROOT/panels/op_server.cfg.fws
-bash: /panels/op_server.cfg.fws: No such file or directory

Thanks
john

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #21 on: October 18, 2007, 10:26:38 AM »
Looks like you're trying to install it manually by typing all the lines of the script one by one. It cannot works this way. Here, it complains about $WEBROOT/panels/op_server.cfg.fws not found but:

in the script, it's $WEBROOT/panel/op_server.cfg.fws (without the 's')
and $WEBROOT is a variable defined in the script, and it's value is /opt/asterisk. Outside of the script, this variable is not declared, so it'll have an empty string as value.
You should really let the script do it's job.
C'est la fin du monde !!! :lol:

Offline jmbac

  • *
  • 35
  • +0/-0
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #22 on: November 11, 2007, 09:10:15 PM »
Thanks again. Beta contribs has been working pretty good.
A few question /request..

1. Will you be upgrading to asterisk-1.2.13 zaptel-1.21.1 Iaxmodem-0.3.2 & hylafax-4.4.2 or latest releases
2. Add Virtual Fax GUI like Elastix.org
3. howto add more iaxmodem
4 Trixbox Phone provision (Endpointcfg)  http://yum.trixbox.org/centos/4/RPMS/tbm-endpointcfg-1.1.0.27-2.noarch.rpm

Thanks

Jon..

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #23 on: November 12, 2007, 10:12:40 AM »
Hi

Thanks again. Beta contribs has been working pretty good.
A few question /request..

1. Will you be upgrading to asterisk-1.2.13 zaptel-1.21.1 Iaxmodem-0.3.2 & hylafax-4.4.2 or latest releases

zaptel, asterisk, spandsp, and some others rpm will follow trixbox versions (you can upgrade them with a yum --enablerepo=trixbox update). iaxmodem, I'm not sure. Release 0.3.1 didn't work, I haven't tested 0.3.2. For hylafax, it will follow the release on dungog's repo. Then, for the zaptel module, you should find the latest version here:
http://sme.firewall-services.com/downloads/smeserver-trixbox/rpms/


2. Add Virtual Fax GUI like Elastix.org
Maybe I'll add a web interface for hylafax, there are several projects.


3. howto add more iaxmodem
It's quite simple to add iaxmodems instances. You'll find several how-to on the web,


4 Trixbox Phone provision (Endpointcfg)  http://yum.trixbox.org/centos/4/RPMS/tbm-endpointcfg-1.1.0.27-2.noarch.rpm

For this part, I'll wait for freePBX 3, it should include provisionning for several phones. I've allready configure provisionning for polycom phones witht he actual smeserver-trixbox contrib. I'll try to publish the how-to as soon as possible

Cheers, Daniel
C'est la fin du monde !!! :lol:

Offline ello

  • ****
  • 153
  • +0/-0
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #24 on: November 13, 2007, 10:31:15 PM »
hello
 helpme I do not succeed to configure one hfc card and one x100 card
i have used the script install-zaphfc but reconfigure asterisk e don't work, i have used bristuff ver. 1y-k and zaptel 1.4.6 without result and have used mISDN like described on the site misdn.org.
it is possible configure this card?
tanks Dario
excuse me for my orrible english
bye

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #25 on: November 14, 2007, 10:01:06 AM »
This contrib should not be used with bristuff, and I'm not sure which script you are talking about when you say install-zaphfc. For the x100 card, I don't know, I only used TDM400 cards from digium, they are working great, and quite out of the box. For the ISDN card, I've configured a b410p (still from digium) with the misdn driver, it's also working. Here's the how-to:
http://sme.firewall-services.com/spip.php?article51
C'est la fin du monde !!! :lol:

Offline ello

  • ****
  • 153
  • +0/-0
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #26 on: November 14, 2007, 03:15:38 PM »
hi
tanks for your answer
the x100 card is really X100P original digium card with one fxo ports
thanks again
dario

Offline pascal31

  • 1
  • +0/-0
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #27 on: November 18, 2007, 12:26:12 PM »
Hello,

I have realized the install without problem.

I have 4 entries in the SME admin panel, but 3 of them are permission denied.

The only allowed item is "asterisk management"  to add user admin users to fop & asterisk. I added a SME account with succes.
but it's impossible to enter in other topics even with sme admin account or the new account added.

Do you have a solution ?

Regards,
pascal

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #28 on: November 18, 2007, 09:58:03 PM »
Hi.

Please, tell me exactly how you access the server-manager, from the local network? outside? through a ssh tunnel?

Have a look at the logs:

tail -f /var/log/httpd/error_log

Have you got any other contribs installed?
C'est la fin du monde !!! :lol:

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [CONTRIB UPDATE] smeserver-trixbox.fws_beta4
« Reply #29 on: November 22, 2007, 01:41:15 PM »
Ok, I understand the problem. Please, download again the archive (I'm uploading it now, so wait a few minutes). The problem is corrected. It was a dependency problem (zaptel should be installed before the other rpms). Cheers, daniel
C'est la fin du monde !!! :lol: