12.07.2015 Views

Admin Guide - Mizu Voip

Admin Guide - Mizu Voip

Admin Guide - Mizu Voip

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2: Peak3: Offpeak4: Weekday5: Weekend6: Offpeak and weekend7: Evening8: Night9: Holiday10: All times11: Other Times (Rest)example: v_getprice '1','36301234567',6555,'003615555555','150',666,-1,4,2,99,99,4,11,41,500The v_getprice stored procedure will return the following fields:tb_billentries.currency,tb_billingtimes.isdiff,tb_billingtimes.origprice,tb_billingtimes.price, tb_billentries.billingstep,tb_billentries.minammount,tb_billentries.freeammount,tb_billentries.freeafter,tb_billentries.vatincluded, tb_billentries.vatvalue,tb_billentries.converttonative,tb_billentries.converttovatAccording to returned billing settings, the price is calculated accordingly.If there are no price defined, than default price are loaded. (if set)If there are no sales price defined, than will be loaded from user setting (commission)For enduser prices, the discounts and userreductions are applied if set so. Then the user credit is updated.If there are any error with the billing process, than the default prices are applied if exists.Billing verification:List the required CDR records with “Show minute price option”You can find the billing logs if you search for the called number in the server logs.Copy the required v_getprice log in the direct query form.Check if the returned values are as expected.4.5.8. Invoice and payment storageInvoices and payments are stored in tb_invoices in the database. So the invoices can be searched, recreated and storno invoice can be built based onexisting invoices (conforming to Hungarian laws).The last invoice number are loaded from database before every new invoice and incremented. Thus the invoice number increment is guaranteed the bydatabase engine transactional behavior.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!