Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 8:51 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Card creation using API
PostPosted: Sun Jan 24, 2010 4:54 pm 
Offline

Joined: Fri Jan 02, 2009 7:56 pm
Posts: 49
Location: Odessa, Ukraine
Hello
I am exploring API of A2B now
I am able to create a card, but i see that it sets different passwords for UI and SIP BUDDY

############# CREATE_CARD ############# Array ( [0] => [1] => [2] => 8983177165 [3] => 896521472902153 [4] => cgmulrepxp [5] => result=OK [6] => ID CARD_CREATED=26 ) ############# Activation_CARD : 8983177165 #############

Above is output from Create_Card API,
Array[4] is a password, same password i see for SIP buddy, but in admin interface i see completely different pass : wxazknmcjo

What can be the problem ?


Top
 Profile  
 
 Post subject: Re: Card creation using API
PostPosted: Sun Jan 24, 2010 5:06 pm 
Offline

Joined: Fri Jan 02, 2009 7:56 pm
Posts: 49
Location: Odessa, Ukraine
soap-card-server.php:338
if ($uipass=='' || strlen($uipass)==0) $uipass = MDP_STRING();


and then

on line 404
$uipass = MDP_STRING();
Will need to substitute it to
if ($uipass=='' || strlen($uipass)==0) $uipass = MDP_STRING();
Or even remove - as pass already set on 338

During creation of buddy
It seems that we redefine pass


Top
 Profile  
 
 Post subject: Re: Card creation using API
PostPosted: Tue Jan 26, 2010 12:33 pm 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
Hi,

I removed the files :
- soap-card-client.php
- soap-card-server.php

As there is still old errors there and the account aren't create properly.
In order to provide a good substitute, I added a new SOAP-A2Billing-Server : webservice/SOAP/soap-a2billing-server.php

I added some doc here :
http://www.asterisk2billing.org/cgi-bin ... t?rev=2681


Cheers,
/Areski


Top
 Profile  
 
 Post subject: Re: Card creation using API
PostPosted: Wed Jan 27, 2010 12:07 pm 
Offline

Joined: Fri Jan 02, 2009 7:56 pm
Posts: 49
Location: Odessa, Ukraine
Thank you


Top
 Profile  
 
 Post subject: Re: Card creation using API
PostPosted: Wed Jan 27, 2010 2:27 pm 
Offline

Joined: Fri Jan 02, 2009 7:56 pm
Posts: 49
Location: Odessa, Ukraine
so now it is not possible to create customer and set its name and surname


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


All times are UTC


Who is online

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