Quote:
Originally Posted by johnsongrantr
I'm going to dig into this guy's script and attempt to figure out what he's doing. Looks like it's written in perl and I'm not too familiar with that language.
Google Voice Command Line Script | 0xdecafbad.com
looks like he seems to have gotten it to work, now just to figure out how
|
I can probably explain anything you want

Although, like you, I am not too familiar with perl.
On my page I detail it somewhat. There are various URLs that do different things.
I use WWW::Mechanize to automate the login/auth process. From what I can tell this process is the same for GMail. There is a hidden form field that you have to get in order to make it all work.
Once authenticated, I send data to Google Voice to initiate a call, send an SMS or Cancel a call.
I list the URLs to deal with inboxes, contacts, etc although I have yet to actually add the support for those things. They are JSON objects, so parsing them should not be terribly difficult as there is likely a perl module for that already.
I am probably not going to follow this forum so if you have questions for me or if anything is unclear in the script, it would probably be better to write them on my blog where I will actually see them.