Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Apr 24, 2024 7:18 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Does the callback API work or not
PostPosted: Mon Jun 25, 2007 1:46 am 
Offline

Joined: Mon Apr 09, 2007 7:11 pm
Posts: 11
Hi folks,

I tried the SOAP API ( callbackexec.php)
http://xxxxxxx/svn/a2billing/trunk/A2Bi ... c.php?wsdl

nothing happened.

The doc saids that it can do like this:
#### FEATURES : CALLBACK APIs
********************************************************************
1# Queue a callback request from an API : HTTP / WSDL
- it will return the uniqueID generate for the callback request
an API could generate a callback http://apiurl/callback-exec.php?listpar ... eid=324234
return an ID to identify the callback request

2# API to check the status of the callback : webservice
- check the status of a generated callback

So an API will return result of a callback http://apiurl/callback-status.php?id=123453
id is the ID returned by
reply : Pending ; Success ; Error, etc ...

*****************************************************

I am not sure if this API was ready or not :?.
Anybody can give me some answer about this?

Many Thanks,

Polo


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 28, 2007 7:44 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Yep. It works.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 16, 2007 7:00 am 
Offline

Joined: Wed Mar 15, 2006 8:46 am
Posts: 109
Hello Asiby

I also can't manege to make below link worked, I only got one blank page,
What is the possible problem ?

Could you please provide one working screen shoot for reference ?

Thanks



http://xxxxxxx/svn/a2billing/trunk/A2Bi ... c.php?wsdl


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 16, 2007 2:46 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Here is an example that you can use:

http://trac.asterisk2billing.org/cgi-bi ... ckexec.php

Most files that you will see in the A2Billing_UI/api/SOAP/test-callbackexec.php folder are APIs. You do not call them directly. Instead, you use them in your own example like the above link. Don't forget to change the params to make them match you server's. :)

Added after 1 minutes:

Oh, did I mention that that file is probably already present on your a2billing 1.3 installation?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 25, 2007 6:10 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Oh, you also need to have PEAR::SOAP installed and properly configured on your server in order to use the callback API.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 48 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group