User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » GotVoice help Page [1]  
dFshadow
All American
9507 Posts
user info
edit post

anyone else use GotVoice for voicemail retrieval?

i want to figure out a way i can just set up a cron job to visit a link and have it seem like i'm doing a manual retrieval of my voicemail, but i can't figure out how to do it since their link is a javascript onclick event that does something, not just a simple URL

onclick="performAction(0, 0);return false"

any ideas?

9/27/2008 3:24:20 PM

RSXTypeS
Suspended
12280 Posts
user info
edit post

look at their javascript code and see what it does?

9/27/2008 6:36:48 PM

dFshadow
All American
9507 Posts
user info
edit post

Quote :
"function performAction(tnIndex, action)
{
if(!buttonClickOK)
{
alert("You must wait at least 120 seconds before perfoming another action");
return;
}
if(ajaxRunning[tnIndex] == 1)
{
alert('We are still waiting for this request to finish');
return;
}
var showClickAlert = 0;

if (!showClickAlert)
{
if (action == 2)
{
if (!confirm ("This will remove all the saved messages on this phone.\nIt will not change the contents of this web page.\nPlease make sure you want to delete these messages before continuing."))
{
return;
}
}
ajaxRunning[tnIndex] = 1;
ajaxAry[tnIndex].makeRequest(callbacker, {'P_ACTIONID':action,'P_TNINDEX':tnIndex,'Ajax':1});
document.getElementById('gvlogo').src = '/images/gv-animation.gif';
document.getElementById('phone_' + tnIndex).style.display = 'none';
document.getElementById('phone_' + tnIndex + '_status').style.display = 'block';
document.getElementById('phone_' + tnIndex + '_status_text').innerHTML = 'Pending';
}
else
{
if (click_limit == 1)
alert("You have exceeded the number of times that your voicemail may be accessed - time a day.");
else
alert("You have exceeded the number of times that your voicemail may be accessed - times a day.");
return;
}
}"


Quote :
"MessageStore.getNewMessages = function( )
{
MessageStore.updater.makeRequest(MessageStore.getNewCallback, {'ajax':'1'});
}
"


i found the function performaction and the logical method .getnewmessages from one of the javascript files

how do i call that in a cron job with the right login credentials for my account?

[Edited on September 27, 2008 at 7:52 PM. Reason : .]

9/27/2008 7:52:34 PM

dFshadow
All American
9507 Posts
user info
edit post

bttt

9/29/2008 11:23:12 AM

 Message Boards » Tech Talk » GotVoice help Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.