LinuxMCE Forums
May 22, 2013, 07:44:28 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Asterisk 0810 alpha 2.20 solved  (Read 1554 times)
murcel
Guru
****
Posts: 198


View Profile
« on: May 21, 2009, 10:10:21 am »

After

chmod 777 extensions_additional.conf
meetme_additional.conf
sip_additional.conf
sip_registrations.conf
iax_additional.conf
iax_registrations.conf
zapata_additional.conf
queues_additional.conf

asterisk works with sipgate.

Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #1 on: May 21, 2009, 10:16:03 am »

Can you guys please look at our perl scripts in /usr/pluto/bin to try and make this work out of the box? Thanks.

-Thom
Logged
felpouse
Veteran
***
Posts: 99


View Profile
« Reply #2 on: June 15, 2009, 12:45:20 pm »

Hi all,

inste of doing this to change to permissin I've checked that those files had the not right owner.

Then I've only make this :

chown asterisk:asterisk extensions_additional.conf extensions_pluto_dial.conf iax_additional.conf iax_registrations.conf meetme_additional.conf provider_list.txt queues_additional.conf sccp.conf sccp.conf.template sip_additional.conf sip_registrations.conf zapata_additional.conf

The problem was that this files had root.root as owner and not the asterisk user and group, like FreePBX web interface would like to use.

Next when I make every changes in configuration and then apply config, don't ever receive the error message and all works great.

Regards

Luke
Logged
murcel
Guru
****
Posts: 198


View Profile
« Reply #3 on: June 15, 2009, 12:49:47 pm »

what kind of error message did you have initially?

Murcel
Logged
felpouse
Veteran
***
Posts: 99


View Profile
« Reply #4 on: June 15, 2009, 12:54:51 pm »

Hi Murcel,

see this forum messages :

http://forum.linuxmce.org/index.php?topic=8355.0
http://forum.linuxmce.org/index.php?PHPSESSID=7c0a86df1d22e8c00a602395ee3ad225&topic=8196.0

This are the common errors that happens when you try to apply for the first time you connect to freepbx and need to apply changes.

I receive this, post adding my cisco 7970 in a correct way for use it both with linuxmce and asterisk.

Bye

Luke
Logged
dlewis
Guru
****
Posts: 401


View Profile
« Reply #5 on: June 15, 2009, 01:18:32 pm »

As Thom said, please please look at our perl scripts in /usr/pluto/bin to try and make this work out of the box and resubmit the new file to trac.
Logged
murcel
Guru
****
Posts: 198


View Profile
« Reply #6 on: June 15, 2009, 01:24:56 pm »

i am currently setting up the enviroment and will fix this issue.

murcel
Logged
felpouse
Veteran
***
Posts: 99


View Profile
« Reply #7 on: June 15, 2009, 01:34:46 pm »

Murcel,
I had found this script in /usr/pluto/bin     sync_pluto2amp.pl

In the file there are these fixing processes:

#fix permissions on each run
`chmod g+w /etc/asterisk/*`;

# fix some permisions
`chown asterisk.asterisk /usr/share/asterisk/agi-bin/*`;

I'm not a developer but I think that could be this the script that need some arrangement, I hope . It's necessary to add the chown also for the /etc/asterisk/* .

Please tell me if it's the possible correct way to fix it.

Regards

Luke
Logged
gadget
Veteran
***
Posts: 136


View Profile
« Reply #8 on: June 15, 2009, 02:36:18 pm »

I had a brief look for the scripts but got lost and couldnīt find where to fix.
Instead of doing a chmod 777 this would be more secure.

cd /etc/asterisk
chown asterisk:asterisk * 
chmod o+r *

gadget
Logged
merkur2k
Addicted
*
Posts: 513


View Profile
« Reply #9 on: June 15, 2009, 03:20:59 pm »

everything in /etc/asterisk is already owned by asterisk from what I saw. if the apache user (www-data) is in the "asterisk" group, then yeah just giving write privs to "group" should work. I couldnt see where www-data was in the asterisk group, but maybe it is already.
I just got my build environment sorted out again this morning so I will take a look at this script and get a patch ready.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!