|
murcel
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« Reply #3 on: June 15, 2009, 12:49:47 pm » |
|
what kind of error message did you have initially?
Murcel
|
|
|
|
|
Logged
|
|
|
|
|
|
|
dlewis
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
|
|
|
|