Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 6:56 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: how to configure callback
PostPosted: Tue Oct 21, 2008 11:39 am 
Offline
User avatar

Joined: Wed Feb 06, 2008 12:31 pm
Posts: 20
Location: Florianópolis
I was wondering how to configure callback.

I can see some posts that talk about call-back daemon. But seems that a2billing has callback inside.

I should like know what must I fill at fields of pic. below.

At manager_custom.conf I do note have MANAGER USERNAME field, just secret inside each bracket as you can see below too.

At my manager_custom.conf I have this

[phpconfig]
secret = php[onfig
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

[phpagi]
secret = phpagi
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

[AstTapi]
secret = AstTapi
deny=0.0.0.0/0.0.0.0
permit=192.168.1.0/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

[a2billinguser]
secret=a2billing
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read=system,call,log,verbose,command,agent,user
write=system,call,log,verbose,command,agent,user

[remote_mgr]
secret=0chanc3yo
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read=system,call,log,verbose,command,agent,user
write=system,call,log,verbose,command,agent,user

Any comment will be helpfully


Attachments:
billing.JPG
billing.JPG [ 56.21 KiB | Viewed 6909 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2008 7:26 am 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Hi,

From the above :

[a2billinguser]
secret=a2billing
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read=system,call,log,verbose,command,agent,user
write=system,call,log,verbose,command,agent,user


username = a2billinguser
password = a2billing
host = 127.0.0.1 or localhost


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2008 10:38 am 
Offline
User avatar

Joined: Wed Feb 06, 2008 12:31 pm
Posts: 20
Location: Florianópolis
The login is alright,

what is not working well is complete call.

When I insert my number and number I wish to call, I can see this instruction: Your callback request has been queued correctly!

And in "show callbacks" I see that call has been inserted at database as u can see at pic below:

[/img][/b]


Attachments:
queue.jpg
queue.jpg [ 142.34 KiB | Viewed 6780 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2008 4:01 pm 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
can you plz post the asterisk debug log while doing the call..

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2008 7:48 pm 
Offline
User avatar

Joined: Wed Feb 06, 2008 12:31 pm
Posts: 20
Location: Florianópolis
That is strange,

Nothing happens when I do call.

Nothing at asterisk debug CLI>

But when I make a call through softphone I can see a2billing.php working.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2008 5:52 am 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Hi,

Check if call back daemon is running :

tail -F /var/log/asterisk/a2billing-daemon-callback.log


you should see a new trace (line) every 10 secs.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 24, 2008 10:34 am 
Offline
User avatar

Joined: Wed Feb 06, 2008 12:31 pm
Posts: 20
Location: Florianópolis
Swift,

That´s the point:

I did not installed nothing else. No daemon.

I thought that all callback process was installed.

Do you have a how to about it?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 25, 2008 6:21 am 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Unfortunately no experience with installation..
I usually work with pre-installed systems.!

I think you can find something in the forum.

Basically, the daemon is a script that need to be always running in the background, you might need to set up a cron job for the start up.


Regards,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group