Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 22, 2019 8:31 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Ieeus with DID - solve please
PostPosted: Thu Dec 30, 2010 5:14 pm 
Offline

Joined: Mon Dec 20, 2010 9:30 am
Posts: 3
Hello,

There may not be a major issue here but some people may want this feature. I know it just takes a small change in the Class.A2billing.php or A2billing.php file. So please moderators, answer the question...

As of now, DID are mapped to one destination with one card number and they are billed. Why cant we enter in many Destinations for one DID with different accounts?

Then when user 123 calls DID it goes to say US destinations, and user 456 calls DID and goes to UK destination. Why is this not possible?

I tried changed few things in A2billing.php but with no luck. Please help me and probably some other people and assist us with this.

Looking at the A2billing.php file, in the DB query:

Code:
$QUERY =  "SELECT cc_did.id, cc_did_destination.id, billingtype, tariff, destination,  voip_call, username, useralias, connection_charge, selling_rate, did".
                            " FROM cc_did, cc_did_destination,  cc_card ".
                            " WHERE id_cc_did=cc_did.id  AND cc_card.status=1 and cc_card.id=id_cc_card and cc_did_destination.activated=1  and cc_did.activated=1 and did='".$A2B-> destination."' ".
                            " AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL";



This gets the destination, and user call informaiton. There must be a small change needed there to get the destination from a specific user each time. Anyone have any ideas?

Jroper, Stavros, waiting for a nice reply.
Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Auto Dialer Software


All times are UTC


Who is online

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