Hi List For you who are using VoipJet and want to check your balance online (since this guy doesn't support it) and act accordingly here is a shell routine to get it (it's all one single row!):
curl -L -e https://www.voipjet.com/login.php -d "login=myusername&password=mypassword&submit=Submit" https://www.voipjet.com/login.php >mybalance.txt 2>errors.txt; grep balance mybalance.txt | cut -d " " -f 6 This Curl command sends a referrer, accepts redirection and pipes to a file the actual data, and the errors to another. It extracts just the balance, so you may do whatever you want. It's very simple but useful, even more if you want to user the premium server which requieres a balance over $20 usd. Hopes this helps someone. I post here because here i saw the comments about the balance, and it's not an asterisk related issue, don't get mad. Regards ------------------------------------------------------ José María Saráchaga Jefe de Soporte a Usuarios/Sistemas Bticino Corporativo, S.A. de C.V. (442) 238-04-40 [EMAIL PROTECTED] _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-biz mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-biz
