12.07.2015 Views

Admin Guide - Mizu Voip

Admin Guide - Mizu Voip

Admin Guide - Mizu Voip

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.5.12. Promotions• First X seconds are freeYou might create packets when the first few seconds are not billied.Just use the “Free amount” option on the Price Setup form for this• Call X direction for only … centJust setup a separate packet with lowered prices for this.Use only the directions (prefixes) you wish to promote.• 10 USD free to direction XSet the “packetcredit” field in tb_users to 10Create a special packet with the desired directions (prefixes). Set the “isforpacket” field to 1 for this packet(s)With these settings the cost of the call is calculated with this special packet(s) and the cost will be deducted from the “packetcredit” fieldinstead of the real “credit” field.• You can offer some directions for the users where they can call Y minutes for freeThe followings fields have to be used for this from the tb_users table:o freeminutes: free minutes includedo freesms: number of free sms messages includedo freeminutesleft: remaining free minutes (this field will be modified by the server. No more free minutes when reach to 0)o freesmsleft: remaining free minutes (this field will be modified by the server. No more free minutes when reach to 0)o freedirections: numbers separated by comma or a prefix where the free minutes or sms can be used (it can be also a whole number).Empty value for this allows free calls to all directions.o freedays: set to a positive value if you wish the free minutes to be reset after this number of days (recurring free minutes). Set to 0to disable reset. (By reset we mean that the freeminutesleft will be set to freeminutes)o freebegindt: freedays begin date-timeFor this feature to be used you might have to set the “checkfreeminutes” global config option to 2. You might also set the “freedirections”global config option to restrict the directions that can be allowed by the tb_users. Freedirections field (if you let this field to be modifiedfreely by the users, for example to select one preferred number or destination prefix)Example SQL to add 100 free minutes ad 30 SMS for a set of users to prefix 4411:update tb_users set freeminutes = 100, freesms = 30, freeminutesleft=100, freesmsleft=30, freedirections =’4411’,freebegindt=getdate(),freedays=31 where id in (X,Y,Z)To add 10 free minutes for new users, just set the default value for the “freeminutes” field to 10 in the database.

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

Saved successfully!

Ooh no, something went wrong!