4/29/2023 0 Comments Voipraider account loginn delete any existing cookies and start over M "" - specify a specific earlier month and page for call record history retrieval (with -r option) - format '/MM/YYYY/P' m - send any messages about low credit or too-rapidly-falling credit to the specified address (assumes sendmail is available and working) d debug - be very verbose and retain temporary files Here is an example of how you could use dellmont-credit-checker.sh on your own (presumably internal) website (with CGI configured appropriately on your - save captcha images (if any) at path (default is current path) You can use options -r and -t to download call records and append them to a specified file. (The same cookiejar file is also used, if found, by get-vt-cdrs.sh.) Unless run with debug option, all such files are deleted after running - except the cookiejar file which is retained so it can be reused. Temporary files are saved with 600 permissions in $TEMP which is set to a standard location, normally /tmp, unless it is already defined (so you can define it if you want a special location). Here's an example single-line conffile to generate a warning email if the credit on the account falls below 3 euros (or dollars): 2000 (for 20 euros/day or 20 dollars/day). daily) runs of dellmont-credit-checker.sh e.g. Set the credit_reduction_in_cents/pence to a level that is more than you would expect to see consumed between consecutive (e.g. This can be useful to warn you of unusual activity on the account or of a change in tariffs that is significant for you. The program will record in credit_recordfile the amount of credit for the given portal each time it is run, and notify you if the credit has reduced since the last time by more than the credit_reduction. If you specify them, the credit_reduction and credit_recordfile work together to perform an additional test. If you don't specify a test_credit_level_in_cents/pence then the current credit level is always displayed (but no email is ever sent). Where the test_credit_level_in_cents/pence is >=100 or 0 (0 means 'never send email'). Can also run under MS Windows using Cygwin ( ), or can be run as CGI job on Linux/Apache webserver.Ī conffile should be in the same directory as dellmont-credit-checker.sh with name nf, or if elsewhere or differently named then be specified by option -f, and should contain one or more lines giving the Dellmont/Finarea/Betamax account details in the form: Once successfully tested it can be run as daily cron job with -q option and -m email_address option so that an email is generated when action to top up credit on the account is required. GNU/Linux program to notify if credit on one or more Dellmont/Finarea/Betamax voip provider accounts is running low. Dellmont-credit-checker v4.5.3 by Dominic Description
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |