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.

http://blogs.msdn.com/b/ntdebugging/archive/2007/07/05/desktop-heap-part-2.aspx5.121. How to rewrite SMS number prefixCreate a stored procedure named v_dialplansms with the following inputs:- tonum varchar(256)- fromid int- fromnum varchar(64)- clientip varchar(64)This sp must return one field containing the rewritten target number (“tonum”)Set the “usesmsprefixsp” global config option to “true” and reload.5.122. How to limit the maximum usage for postpaid accountsSet the “creditcheckforpostp” global config to true.Set a meaningful default and actual value for each users for the followings: maxmonthlycredit, maxmonthlycreditinc, maxmonthlycreditend.Maxmonthlycredit: max allowed credit/month even if the user is postpaidMaxmonthlycreditend: max Maxmonthlycredit (because we increase Maxmonthlycredit by maxmonthlycreditinc every month if the user was active)onlylocalaccess: traffic sender traffic will not be forwarded (can call only local users from tb_users and tb_numbers)Maxmonthlycreditinc: determines how much money we add to Maxmonthlycredit every monthTo set the default value, you should edit the database default values and then run a query like this:“update tb_users set maxmonthlycredit = XXX, maxmonthlycreditinc=XXX, maxmonthlycreditend=XXX where type = 0 and postpaid > 05.123. Not enough storage is available to process this commandIf you see similar errors, try to increase the IRPStackSize in the registry as described here:http://blog.rongabriel.com/2010/03/08/not-enough-storage-is-available-to-process-this-command/

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

Saved successfully!

Ooh no, something went wrong!