var reqParam = 'to=' + finalto + '&from=' + from + '&uname=' + uname + '&pass=' + pass;
var reqParam = 'to=' + from + '&from=' + finalto + '&uname=' + uname + '&pass=' + pass;
I applied these changes to asterisk.js and it worked great! Thanks!
Now how do I get the same behavior when I choose to call from my mobile number in the zimlet? Currently it calls the number to dial first and then rings my mobile number. I don't see where to change this behavior in the asterisk.js file.