Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 2:01 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: can I add card by use curl in console instead of web admin?
PostPosted: Mon Jun 07, 2010 3:34 am 
Offline

Joined: Wed Dec 30, 2009 4:46 am
Posts: 6
Hi, by some reason, I need to generate card from command line. I am trying to do that with the curl command. I am currently using a Elastix with CentOS and I manually installed A2billing 1.7.1.

I am trying to do like this:

curl 'A2B_entity_card_multi.php' -d 'parameters'

what parameters shall I pass in here? I only need to generate one customer per time with 0 dollar value and a specific call plan. more importantly, will the php file show me the info of the account generated after it is executed? I need to prompt the info to the user, at least their web UI account and passwd.

thx in advance.


=================================================================================================

add on, I tried with the following parameters:

cardnumberlenght_list=10&nb_to_create=1&choose_tariff=1&addcredit=0&choose_simultaccess=0&choose_currency=SGD&choose_typepaid=0&creditlimit=0&enableexpire=0&expirationdate=2020-06-07+11%3A31%3A41&expiredays=0&runservice=0&tag=&id_group=1&discount=0&id_seria=&id_didgroup=0&action=generate

but seems doesn't work, and I am getting error from yahoo saying bad request.

any idea?

================================================================================================

a bit more add on, actually I don't need exchange rate service. since my service only take in our local currency. Where could I disable the yahoo service and fix the currency to one type?


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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