root/TODO

Revision 599, 27.3 kB (checked in by areski, 6 months ago)

FIX: epayment module

Line 
1
2 *******************************************************************************
3                                         TODO LIST - SPECIFIC
4 *******************************************************************************
5
6
7 #### MISC
8 ********************************************************************
9 Add cache on API to display ratecard
10
11
12 #### MISC
13 ********************************************************************
14 It would appear that a lot of the prompts have not been enabled in the callback mode. to name but a few.
15
16     * Press 8 to to put in a voucher not working.
17     * Creating an account automatically.
18     * Moving CID from one account to another
19     * auto attaching the CID to an account
20     * zero credit, go to voucher IVR not working
21
22 In terms of creating an account in any mode,
23
24     * it always creates an account in USD
25     * No default WebUI password is enabled.
26
27
28 #### FRAMEWORK - AJAX
29 ********************************************************************
30 EXT-JS
31 http://extjs.com/deploy/dev/examples/
32 http://extjs.com/deploy/dev/examples/layout/complex.html
33    
34     Licensing_Concerns
35     http://www.jimbojw.com/wiki/index.php?title=Ext_JS_Licensing_Concerns
36
37
38 DRUPAL
39
40 CAKEPHP
41
42 SYMPHONIE
43
44 ...
45
46
47 #### Asiby Observation
48 ********************************************************************
49 1. I have to admit that it is a little more difficult to read database
50 record collected in tables. Maybe it runs faster, but object models are much
51 more easier to read and to maintain.
52
53 2. I have recently noticed that View Money Situation is does not show the
54 situation regarding the charges added to the cards? So I have added it in my
55 A2Billing installation.
56
57 3. I have noticed that the billing does not generate bills with some
58 informations like previous balance and payment received. These could be
59 really helpful. I don't know if it would be part of v1.4 or v2.0, but if I
60 have time for it, I will try to look into it unless one of you has would
61 like to do so
62
63
64 #### Currency table
65 ********************************************************************
66 keeping date time on currency table
67
68
69 #### Callback init script
70 ********************************************************************
71 for Debian and CentOs
72
73
74 #### NEW INTERFACE
75 ********************************************************************
76 Also when do you think you can help with the interface to search client cards by ID, PIN, OR Caller ID?  I think that the Customer interface would work if you could fix it to log in by ID,PIN or CID Instead of username and password.  From the Customer interface, call center can see everything important, CDR, and remove CID and shows balance.  At present, The only place to locate username and password is the section of a2billing that we dont want to give access.
77
78
79 #### TO CHECK
80 ********************************************************************
81 check in lib/invoices.php
82 <img src="<?php echo Images_Path;?>/asterisk01.jpg" align="middle">
83        
84
85 #### USE SMTP CLASS SERVER ON THE WHOLE A2BILLING
86 ********************************************************************
87 replace all the mail function in php that use sendmail and replace by
88 using PHPMAILER
89
90 add parameter in global to configure SMTP server
91  * use_sendmail
92  * smpt_host
93
94 in /home/areski/public_html/svn/asterisk2billing/trunk/A2Billing_UI/Public, the only one is :
95 Big changes in A2B_mass_mail.php, be sure to test well
96
97 Check in A2Billing_UI/lib, the files smtp.php & emailer.php
98
99 Done with API & SIGNUP
100
101 check the cronts as well
102
103
104 #### disable sip/iax conf files generation by default
105 ********************************************************************
106 issues if u handle tons of card, the files creation will fails with 50k cards.
107 need lot of memomry
108
109
110
111 #### OPTIMIZE RATE-ENGINE
112 ********************************************************************
113 1)
114 check with Stavros his suggestion
115 http://forum.asterisk2billing.org/viewtopic.php?t=2666&postdays=0&postorder=asc&start=0
116
117 2)
118 to have startdate/stopdate for each ratecard? Shouldn't we just have them only at the tariffplan?
119 And then, you can split the ratecards according to start/stopdate.
120
121
122 3)
123 you should first try the '1234' entry and if the trunk fails the '123' ..
124 my idea was to ensure if the dialprefix match always to something on failover
125 for belgium we have :
126 1# 32 475       Mobile belgium
127 2# 32 495       Mobile belgium
128 3# 32           Landline + Mobile trunk (mix)
129
130 if 32 455 is dialed we use 3#
131 if 32 495 is dialed we will use 2# but probably the failover dont have to go to 3# as it will get wrong the rating
132
133
134 that's the point: we should better not fallback to entries from the same tariffplan..
135
136
137 #### Add VoiceMail
138 ********************************************************************
139
140 http://www.ecualug.org/?q=2006/12/12/comos/configurar_a2billing_en_menos_de_10_minutos
141 http://forum.asterisk2billing.org/viewtopic.php?t=93&highlight=voicemail
142
143
144 You need to create the appropiated line for each extension at the voicemail.conf file. Add the following lines to your
145 a2billing context to give your clients the voicemail feature:
146
147 Code:
148
149 [vmmain]
150 exten => *97,1,Answer
151 exten => *97,n,Wait(1)
152 exten => *97,n,VoiceMailMain(${CALLERID(num)}@default)
153 exten => *97,n,Hangup
154
155
156
157 #### IMPROVE IN RIGHT / PERMISSION MANAGEMENT
158 ********************************************************************
159 recommendation : Admin interface is sometimes too messed, we need to restructure
160 the menu in an intelligement way so that not all the features appears.
161
162
163
164 #### Add Description for AGI-CONF X configuration
165 ********************************************************************
166 if we have many it will be handy to have a little description to remind what is it for and where is it used.
167 ie, IVR voice promt for callign card service
168
169
170 #### UPDATE : Move the language selection on the login screen
171 ********************************************************************
172 Move the language selection on the login screen
173
174
175
176 #### TODO : RATECARD MERGING TOOL
177 ********************************************************************
178
179 Goal of the tool, Example :
180 - we have 2 ratecard : R1 & R2
181 we have R1 already well configured with 2000 prefix-rates, buying rate, selling rates defined as willing.
182 We created a new ratecard "R2" for a new provider/or provider update, so we have new "buying rates"!
183 As we defined already in "R1" our selling rates, we would like to be able to reuse that quickly on "R2" and save the time of reconfiguring all.
184 On retail in most cases, we keep always the same Selling values but we update our buying accordingly to changes from your provider.
185 This tool should help us create new ratecard and importing some data from an other ratecard.
186
187 # Select the ratecard u want to merge together
188 R1 <<-->> R2
189 Define search criteria if only some rates (not all) have to be updated !!!
190 Define the fields that will be update : Destination name, minimum duration, billing increment, selling rate
191
192 use as key-update the Prefix (ie, 32472)
193 ** UPDATE on R1 (fields) WHERE R1.prefix = R2.prefix AND R1.starttime = R2.starttime AND R1.endtime = R2.endtime
194
195
196
197
198 #### TODO : MENU TOP
199 ********************************************************************
200 The menu is getting really too long, we may try to find a way to reduce huge page we produce each time.
201 an other design with an horizontal bar may do the trick and again hidded menu!
202
203
204 %%%% DEPRECIATE FOR NOW
205 #### TODO : add call-limit (check if asterisk work with this parameter on RealTime)
206 ********************************************************************
207 Add call-limit on sip/iax parameters
208
209
210
211 ### STORAGE & DISCLOSURE
212 ********************************************************************
213 If you are a proper telecom company, in most countries, those details are classified. So, you have to be careful about
214 their storage and disclosure.
215 One thing is that for customers, resellers and some ACL admins, I try to hide the last 3 digits of the call.
216 Other is that logging in /tmp etc. should *not* contain the full call details.
217 It is easier to only have the full details in the database, and then be careful about not letting the db
218 data in public.
219
220
221
222 #### FEATURE : CUSTOMER SERVICES FRIENDLY
223 ********************************************************************
224 A Customer Dashboard - showing services, payments etc.
225
226
227 #### TODO : TRANSLATION - CANCEL, ANSWERED, CONGESTION
228 ********************************************************************
229 I am puting all the a2customer and a2billing in correct portuguese grammar and i need the help.
230 I need to know the file or where I can change the status of the call from english to portuguese?
231 Explaining: When a customer log in in the a2customer control panel and click in historic call the customer see
232 the status of the call, if was CANCEL, ANSWERED, CONGESTION...
233
234
235 #### UPDATE : MAIL TEMPLATE TAG HTML - Add a plaintext versions
236 ********************************************************************
237 Shopping details is as below.
238
239 Item Name  <b>balance</b>
240 Item ID  <b>8711503777</b>
241 Amount  <b>1 USD</b>
242 Payment Method  <b>paypal</b>
243 Status  <b></b>
244
245 #### TRUNK REPORTING PAGE - DASH BOARD
246 ********************************************************************
247 A screen page where you can see the call stats Expl. ASR, ALOC, CIC  from each trunk on one web page.
248
249
250 #### FEATURE : USE ADODB CACHING IN THE FRAMEWORK
251 ********************************************************************
252 Use adoDB caching in the framework
253 many part can be improve, most of all the part when we bound to a view to other table
254 for each field we run a little query. Caching here will save a lot!
255
256 for instance if you put the sql debug on Class.Table, you will see that on all the view
257 there is lot lot of query performed cause for all the LIE action made on view
258 a query is perform so if you view 20 records on a page u will have all the sql query of the page more 20 sql select for the LIE to find back some information
259 the sample of card
260 $HD_Form -> AddViewElement(gettext("Call Plan"), "tariff", "10%", "center", "sort", "15", "lie", "cc_tariffgroup", "tariffgroupname", "id='%id'", "%1");
261 you have a LIE here to see the tariffgroup name so if you view lot of card, you will do a lot of sql query
262
263
264 #### NEW TASK - NEW button style []
265 ********************************************************************
266 Replace all the big button on view by a cute icons.
267
268
269 #### FEATURE : BILLING ON VOIP CALL - DID VOIP CALL
270 ********************************************************************
271 add billing for voip/call
272
273
274 #### FEATURE : AGI
275 ********************************************************************
276 Showing Balance on Softphone....
277
278
279 #### LOAD BALANCING ON TRUNK
280 ********************************************************************
281 Laod balancing not role over or fail over but load balancing. Expl.
282 If you have 3 GSM gtwy of 90 port each, we want to send one call to the first gtwy
283 then the second call to the next gtwy and then the next call to the next gtwy.
284
285
286
287 #### BUG : FAILOVER
288 ********************************************************************
289 http://forum.asterisk2billing.org/viewtopic.php?t=2243
290
291 Consider 2 trunks configured like this:
292 #1: trunkprefix=8888 removeprefix=0 failover=trunk #2
293 #2: trunkprefix=8889 removeprefix=0 failover=-1/none
294
295 When dialing 0123456789 the call is presented to trunk #1 as it should be:
296 888812345678
297
298 If the call fails over each of the successive attempts will add the correct prefix, but not remove the desired digits:
299 88890123456789
300
301
302 #### BUG : SIGNUP
303 ********************************************************************
304 http://forum.asterisk2billing.org/viewtopic.php?p=7406#7406
305  we shouldn't deactivate magic_quotes_gpc at all.
306  
307
308
309
310 #### TODO : CallerID prefix for DIDs
311 ********************************************************************
312 to have a CallerID prefix for DIDs, so that you might want to allocate the same DID do different persons, depending on the caller id
313
314
315
316 #### MAILTYPE : EPAYMENT GATEWAY SECURITY
317 ********************************************************************
318 Can you add a Mailtype to Epayment Gateway Security Verification Failed so that it can be edited?
319
320
321 #### CUSTOMER : IAX / SIP Info
322 ********************************************************************
323 user interface ability to set up the codec, etc..
324
325
326 #### IAX / SIP Info on signup
327 ********************************************************************
328 then we could say in the customer signup email -
329 IAX details : Username = $card_gen, Password = $password CID = $cardalias
330
331 Thank you for registering with Call-Labs
332
333 Please credit your account by paying via the customer interface at http://myaccount.call-labs.com/
334 To log into your account please use your email address or card-alias ($cardalias) as your username and your password ($password) to login.
335 Configure your VoIP phone with the following settings.
336 Host / SIP proxy = voip.call-labs.com
337 Account Number = $card_gen
338 Password = $password
339 CallerID = $cardalias
340
341 Kind regards,
342 The Call Labs Team
343
344
345 #### GMT : REPORT & INVOICING
346 ********************************************************************
347 Suppot GMT : report & invoicing
348
349
350 #### CallerID Name
351 ********************************************************************
352 Support callerID name for authentication
353
354
355
356
357
358 #### ACL : Access Control List
359 ********************************************************************
360 try to improve for a complex ACL,
361 for each pages / Section
362
363 Access Right like Edit ; Delete ; Add
364
365
366
367 #### WEB SYSTEM TO AUTOMATE UPDATE OF RATECARD
368 ********************************************************************
369 Web system to automate update of ratecard
370
371 changed rates : the 15th -> 00:00 and the 1st -> 00:00
372 GMT : 0
373
374
375 #### AUTO CREATE CARD
376 ********************************************************************
377 Creating an Account from the Caller ID
378 there is no setting for currency, so despite the fact that I had set the base currency to Euro, it created an account in USD.
379 Maybe the account should be setup in the Base currency by default ?
380
381
382
383 #### MISC
384 ********************************************************************
385 1. Voice over ring tone.
386 how to simulate:  Set up multiaccess on the user account,  answer=no (in a2billing.conf).
387 sometimes u can hear (durring the other party phone rings) a voice with "and then pres pound key" over the ring tone.
388
389 2. Can not call users alias with 9+alias  , again answer=no in a2billing.conf
390
391 3. Soft Phone dont work.
392
393
394
395
396 #### UPDATE STATUS IN PAYPAL AND MONEY BOOKERS
397 ********************************************************************
398 We should have the way to manage the Pending transactions !!!
399
400 There is a interface Provideded by paypal and Money bookers to get status of pending transactions
401 so that later on admin can update the status of transactions which were pending by quering the Epayment Gateway
402
403 so that if any Payment is Pending, the Admin can check the Status of Transaction
404 this will actually query the epayment gateway to provide the status of transaction
405 we will need to build the admin interface to see the transactions that are pending
406 so that admin can click on update button to update the status
407
408
409 #### FEATURE IN VIEW FRAMEWORK TO SHOW A BUTTON ACCORDING TO THE VALUE OF ONE OF THE FIELD
410 ********************************************************************
411 what will happend when a invoice is paid
412 we should not show the pay invoice button then
413 is there anything in framework that support like this?
414
415
416 #### FEATURES : CALLBACK dont bill 1st if not connected
417 ********************************************************************
418 add a parameter to not bill 1st if not connected
419 callback_bill_1stleg_ifcall_notconnected = YES / NO
420
421
422
423 #### Check voice one
424 ********************************************************************
425 SIP JAVA Phone
426
427
428 #### INVOICE IMPROVE SENDING
429 ********************************************************************
430 when you send invoices, there is no "to pay" field
431 they might paid just a part of last invoice
432 so a "current balance to pay" would be probably usefull
433 maybe they had $50 in january and $30 in february and they only paid $20 in february,
434 so in march invoice, they have $20 but they need to pay $20 + $50 + $30 - $20
435
436
437
438
439 #### DID CRONT : MAIL
440 ********************************************************************
441 $mail_user_content.="BALANCE REMAINING ".$mydids[5]-$mydids[3]."\n\n";
442 $mail_user_content.="A automaticly taking away of :".$mydids[3]." has been carry out of your acount \n\n";     
443 $mail_user_content.="Monthly Fixrate for DID :".$mydids[0]."\n\n";
444 $mail_user=true;
445 $mail_user_subject="DID notification";
446
447 use mail template
448 (maybe after the release :D not urgent)
449
450
451
452 #### Misc : spacer
453 ********************************************************************
454 we have : pixel.gif ; spacer.gif ; spacer.jpg
455
456
457 #### IMPORT FEATURE WITH INTERVAL & RANGE
458 ********************************************************************
459 Morten Isaksen <misak _at misak.dk>
460 http://misak.dk/download/a2billing/CC_ratecard_import_analyse.php.diff
461
462
463 #### BUGS
464 ********************************************************************
465 1. The notify user (send_reminder) when min_credit_2call is reached doesn't seem to work. I have made the changes in a2billing.conf but still no email is sent to user, how do i get this working?
466
467 2. Is it possible to have the reminder sent at a differnt value than the min_credit_2call?
468
469
470 Reason for this is, I would like a reminder to be sent when a user has £x credit left in their account but the user should still be able to use the account with the current balance. At the moment the only way to achieve this is to set the min_credit_2call=0 (this way the user gets to use every penny in their account) but by this time i think the reminder that is being sent when credit=0 is too late.
471
472
473 #### OnLine Payment
474 ********************************************************************
475 Checkout Google
476
477
478 #### BUG : DID BILLING
479 ********************************************************************
480 bug DID billing
481 we create a DID with no monthly cost for instance free or just dialout cost!!
482 When the use take the DID from the customer interface, it still have to pay for it
483 we dont check the billingtype of DID
484
485
486 #### BUG : DID  (not urgent)
487 ********************************************************************
488 I Create a Card when I dont have  any DID Group
489 and I Simply Go and Create DID Group
490 and Create a Destination and Bind it with a Card
491 Go to the Client Side You will see the Destination in the Card
492 but when you will go to edit the Destination you will see the DIDGroup List is Not Loaded
493
494
495
496 #### RIGHT MANAGEMENT
497 ********************************************************************
498 when u use this : "Add DID" and we assign a DID to a card
499 a check should be proceed, if the DID don't belong to the user's DID group then it should warn the user/admin
500
501
502
503
504
505 ######## CREDIT RESERVE - SIMULTANEOUS ACCESS
506 ********************************************************************
507
508 Wouldn't this mean on simultaneous access, callers could go negative in balance if subsequent calls were made while balance still exists?
509 http://forum.a2billing.net/viewtopic.php?t=1759&highlight=
510
511
512 Does the same account allow for simultaneous calls?
513 Yes. Here's how it works: Say you have a balance of ten (10) dollars. When your first call comes in, two hours worth of credit is temporarily frozen. So, if you are calling a destination that costs 2 cents a minute, that means $2.40 (2 cents/min x 120 minutes) has been frozen in your account. This leaves $7.60 available for another simultaneous call. When that second call comes in, more of your balance is frozen. You can keep making simultaneous calls so long as your effective balance is above zero. When calls are completed, the balance that was frozen is released and once again available for use. If you have a low balance, there's no sense in letting many simultaneous calls go through, only to have them all disconnect at the same time when your balance hits zero (what most carriers do).
514
515
516
517
518 #### DIVERS
519 ********************************************************************
520 Add new tables for reseller and callshop
521
522
523
524
525 #### FEATURE : OPTIMIZE AGI TO USE PL/SQL functions for all important functions
526 ******************************************************************************
527 ... not for now
528
529
530 #### FEATURE : ADD RANGE CARDNUMBER IN CARDGENERATOR
531 ********************************************************************
532 let's the user define a range of cardnumber (ie: 45000-46000)
533 + option to check if there is a cards already between this range (interval limit 10000)
534
535
536 #### FEATURE : SIGN-UP for tracking...
537 ********************************************************************
538 working out the source of a signup so that comission can be paid.
539 a link to the signup be created that enters the source of the link against
540 the customer, e.g. an agent name or website address?
541
542
543 #### FEATURE
544 ********************************************************************
545 thoughts to adding timezone to cc_card ? It's great that we've got language and currency so they can view items in their local currency. Why not have option for timezone so the CDR's are listed in their local times instead of where the switch is located?
546 I borrowed this idea from SER. I can get you their database table they use if you like. It makes it easy for user instead of asking for +/- GMT, has items such as:
547
548
549 #### FEATURE
550 ********************************************************************
551 Marcel
552
553 - invoices: keep an end of the month balance and send automatically invoices at the end of the month using an email template and attaching a html invoice report; fields in the template would include name, last month balance, current month payments, current month per minute charges, DIDs and other charges, etc.
554
555 - payment: send payment emails to customers when "Add Payment" is used; send an email out of a template saying something like "thank you for payment of XXX made on YYYY...."; maybe the ability to display the payment history on the customer web site to see if they paid the bill or not
556
557 "Add Payment" do not refill the account, you have to do refill manually.
558 - Adding a feature there to make an auto refill
559
560
561
562 #### FEATURE
563 ********************************************************************
564 some info report
565 http://www.vbulletin.com/forum/showthread.php?threadid=3477
566
567
568 #### FEATURE
569 ********************************************************************
570 ADD REPORTING PAGE TO VIEW :
571 - 20 users making the more call
572 - 20 more call destination
573
574 20 might be a parameters
575 we need to see the total time and sell made by this clause group
576 etc...
577
578
579 #### NOTE
580 ********************************************************************
581 Note to areski – should we be able to define international access prefixes? 00 UK & Europe,
582 011 USA , but 0099 for South Africa. See http://kropla.com/dialcode.htm IDD column
583
584 Note to Areski – why have free as an option, surely if I wanted free, I would set fixrate to 0?
585
586
587
588
589        
590 #### NEW TASK
591 ********************************************************************
592 Yep - having a separate figure for VAT would be useful
593 for VAT returns
594 however - UK VAT laws say that if a call originates outside of the EU, then no VAT is required on the call
595 however if a call starts within the EU, the VAT is payable
596
597
598
599
600 #### NEW TASK []
601 ********************************************************************
602 Card company can set default language and customer can change 1. English 2. Dutch, 3. French etc.
603 make it more easily customizable
604
605
606
607
608
609 #### Improvement []
610 ********************************************************************
611 There are problems with multiple calls if the credit is running low.
612 The system should secure a certain amount from the credit once the
613 user is logged in.
614
615
616 #### []
617 ********************************************************************
618 //// IMPORTANT
619 Ben Pintilie <ben@energyradio.co.uk>
620 Going to offer professional recording :D
621 - rework on the IVR text
622
623
624
625
626 #### []
627 ********************************************************************
628 e.) at the form of adding/changing SIP/IAX user there should be a possibilty to erase some parameters. like if there isn't any entry (example in canreinvite) that this also don't will be printed to the sip-config. Beause some parameter should be better to define in general without any possibility of overwriting
629
630 #### []
631 ********************************************************************
632
633 d) different SIP/IAX files for each administrator/account- so with this there would be a possibility for a better differnece of two persons which handle the system and don't overwrite any manual config or/and a better usefull possibility for special definitions for the caller if he want to change like the "callerid" or anything else
634
635
636
637 #### []
638 ********************************************************************
639 Petite question: je suis entrain de mettre en place des routes et ai
640 trouvé un truc que tu pourrais incorporer d'origine: un TRUNK nommé
641 NotAllowed (exemple), ProvideIP=NoProvider. Dans les scripts, lorsque tu
642 rencontres ce peer, soit tu ne fais rien et envois le message - le
643 numéro composé n'est pas disponible - ce qui est le cas actuellement
644 parceque * ne trouve pas ce host et renvoit un code erreur a A2Billing,
645 soit tu permets d'appeller une extension de type 100@default ou
646 Local/default/200 ou ... qui permettrait de personnaliser l'annonce/le
647 traitement.
648
649 Pourquoi je pense à ca? Prenons la FR comme ex: les routes vers les
650 numéros 8xx. sont compliquées: soit c'est gratuit (Freebox et consors)
651 soit c'est ultra-payant :-( Si je dois autoriser les rÚgles une à une,
652 ca se complique. Avec ce systÚme, j'interdis (donc TRUNK=NotAllowed) la
653 destination 338 puis je n'ouvre que les routes 338x que je veux ;-)
654
655
656
657 #### CURRENCY BY RATECARD
658 ********************************************************************
659 Rates : it should be possible to enter rates in different currencies for each ratecard.
660 I have 3 providers : a danish who list prices in DKK, a english who lists prices in EUR, and a US who list prices in USD.
661
662
663
664 #### DID : answer with voice on unassigned did.
665 ********************************************************************
666 Needed DID improvement :
667 ;audio played when receiving call on DID with no assigned destination
668 did_not_assigned_snd=
669
670
671 #### []
672 ********************************************************************
673
674 - CUSTOM ALL THE MESSAGE FROM WEB
675 - CALLSHOP
676 - RESELLERS MODULE
677         http://www.voipswitch.com/reselleapplication.htm
678 - C MODULE (NON_AGI BASED) OR AEL
679 - WHOLESALES (http://admin.coreswitch.com)
680
681
682 #### []
683 ********************************************************************
684  - Create a web base installation like many php projects do . ( no hurry at all ).
685
686
687
688 /////////////////////////////////////////////////////
689
690
691 WIKI TO HAVE + SEVERAL A2B ON THE SAME BOX
692 ------------------------------------------------------------------
693
694 Yes, you can program in a2billing.conf several configurations but only
695 to set different behaviour for the "agi" not for the rest of the
696 system.
697
698 Well in your case if you want to make coexist 2+ a2billing platforms
699 on the same box,
700 you will have to trick a little bit. There is a file call
701 Class.A2Billing.php in each components (web, agi, web-cust) and at the
702 beginning of it there is the definition to select the conf files
703
704 define('AST_CONFIG_DIR', '/etc/asterisk/');
705 ...
706 define('DEFAULT_A2BILLING_CONFIG', AST_CONFIG_DIR . '/a2billing.conf');
707
708
709 so you can create a new db
710 duplicate the web interface in other directory and all files for the agi and
711 for instance copy those last in /var/lib/asterisk/agi-bin/namecustomer/
712
713 change the file
714 /var/lib/asterisk/agi-bin/namecustomer/libs_a2billing/Class.A2Billing.php
715
716 with for instance
717 define('DEFAULT_A2BILLING_CONFIG', AST_CONFIG_DIR .
718 '/a2billing.namecustomer.conf');
719
720 etc...
721
722 /////////////////////////////////////////////////////
Note: See TracBrowser for help on using the browser.


Google