unisport wrote:
I have done it, but i am still getting the bellow error when trying to reload asterisk from a2billing WEBUI
Could not open buddy file '/etc/asterisk/additional_a2billing_sip.conf'
Looks like a2billing does not communicate with asterisk as i cannot fine any of the card, Sip friend created in a2billing in SIP.conf and additional_a2billing_sip.conf.
How can i get them to talk to each other? I mean asterisk and a2billing?
Also getting the error: chown: `wwwrun': invalid user
when chown wwwrun /etc/asterisk
Man, before you type any CLI command you
must have clear understanding what it's doing. Otherwise you should not use CLI.
Imagine, what will happen to your server if I tell you "type
rm -rf / and you'll be fine"? Will you blindly do it too?
wwwrun is a fake account to run your apache webserver. If you got "no such user" error message then your apache is using different account name. Like "www" or "nobody" or whatever else.
Your another error message "Could not open buddy file" means that either apache or asterisk simply can't get access to this file. Most probable reason is, again, wrong permissions settings on this file or on the directory. The easiest way is to screw all security measures and run Asterisk as root. Additionaly, you can set 666 on all your files within /etc/asterisk/ as well as 777 on all directories there. Also on /etc/asterisk itself.