Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 25, 2024 6:53 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: master account with several "slave accounts"
PostPosted: Thu May 31, 2007 10:25 pm 
Offline
User avatar

Joined: Thu Jan 18, 2007 5:37 pm
Posts: 131
Location: Mallorca / Spain
hi there :)

i need a solution like this :

a "master account" with several "slave accounts" and only the master account will be billed.

someone knows a solution for that ?

Code:
-> master account
     |
     -> slave account 1
     |
     -> slave account 2
     |
     -> slave account 3

u know what i mean ? i hope so :D


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 31, 2007 11:59 pm 
Offline

Joined: Fri Oct 27, 2006 6:17 pm
Posts: 161
use the same accountcode for the slaves and the master ;)

edited

but i'think that is a nice feature, to have whitout that trick.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 05, 2007 7:42 am 
Offline
User avatar

Joined: Thu Jan 18, 2007 5:37 pm
Posts: 131
Location: Mallorca / Spain
Quote:
use the same accountcode for the slaves and the master :wink:


thats what we DONT want


Top
 Profile  
 
 Post subject: Re: master account with several "slave accounts"
PostPosted: Tue Jun 05, 2007 9:01 am 
Offline

Joined: Tue Aug 08, 2006 4:00 pm
Posts: 117
Location: Bitola,Macedonia
microcosmic wrote:
hi there :)

i need a solution like this :

a "master account" with several "slave accounts" and only the master account will be billed.

someone knows a solution for that ?

Code:
-> master account
     |
     -> slave account 1
     |
     -> slave account 2
     |
     -> slave account 3

u know what i mean ? i hope so :D


then this come something like resellers :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 05, 2007 11:55 am 
Offline
User avatar

Joined: Thu Jan 18, 2007 5:37 pm
Posts: 131
Location: Mallorca / Spain
no its not...

its necessary for callcenters ...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 05, 2007 7:15 pm 
Offline

Joined: Tue Mar 27, 2007 5:23 am
Posts: 93
I think this is what he wants.

The easiest way is to keep each alias individual but create a new code called GroupID. The Master Account will have the card alias of the master account therefore it is known that this is the master account. IF master account is not set, then it should stay blank so that it is easier to look for reseller accounts and to know that they are only CUSTOMERS and not resellers.

- for Sub Accounts, the GroupID must match the master account OR it can match a Sub account of a master account

eg:
- card alias 111 is master account of 111
- card alias 112 is subaccount of 111
- card alias 113 is subaccount of 111
- card alias 114 is subaccount of 113
- card alias 115 is subaccount of 114
- card alias 116 has no master account set.
Therefore it would look like this
Code:
Card   Master   sub      sub-sub 
Alias  GroupID  account  account 
111    111
112    111      111
113    111      111
114    113      111      113
115    114      111      113      114
116    none


Now the issue comes to searching for master accounts, master sub accounts, etc.

You need a few searches to be setup:

- Search master accounts by card alias = master account
- search resellers within a master account: master account = 111, search within

Now if you need to do CDR checking, then you will need to run a multilevel search. You need to match and check all Call Aliases and GroupIDs under a specific master account.

eg:
1: search for all subaccounts for 1 master account. Put into array.
2: check card aliases from 1st search and see if the master account matches any subaccounts from the master account. If so, add it to 1st search array.
3: redo step 2 from step 1's end point of array and only search the part of the array of 2nd search.
4: Rince and repeat until the loop does not find any more subaccounts.

Also I guess the master accounts should be able to have an admin interface too to setup their own subaccounts to.

Is this what you want to do?


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


All times are UTC


Who is online

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