Yes it does stops and starts correctly!
I'm not a php developer, but I do know some programmin on other languages, I can see that the definitions are well (as far as my understanding allows me)
I did this
manager.conf
Code:
[myasterisk1234]
secret = mycode1234
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
a2billing.con
Code:
[test]
manager_host = localhost
manager_username = myasterisk1234
manager_secret = mycode1234
and in a2billing-callback-daemon
Code:
my $manager_host = $cfg->val('test', 'manager_host');
my $manager_username = $cfg->val('test', 'manager_username');
my $manager_secret = $cfg->val('test', 'manager_secret');
Reload asterisk
restart callback-daemon
same thing
== Parsing '/etc/asterisk/manager.conf': Found
Dec 7 18:50:11 NOTICE[8942]: manager.c:576 authenticate: 127.0.0.1 tried to authenticate with nonexistent user 'myasterisk'
== Connect attempt from '127.0.0.1' unable to authenticate
Another thing...
within the directory I execute the command
/var/lib/asterisk/a2billing
egrep -R myasterisk *
Just to make sure the string "myasterisk" wasn't hard coded any where, and it is not !!
wired, and I'm out of ideas