Quote from: Robert.Thompson on February 23, 2012, 06:20:59 AM
Hello:
I don't know anything about vbs but I did not let that stop me from downloading and clicking your file.
I got:
Status code 12029:unknown
Is there something else that I must do?
Thanks,
As the original post indicates, "There are three variables in the script that must be changed to your specific configuration".
The script must be edited to your specific environment. There are 3 lines in the script that must be changed:
''**** You must change the following 3 values to your specific configuration
strURL = "
http://192.168.0.40/callhistory.xml"
''change 192.168.0.40 above to the local IP address of your Obi
strPassword = "obipassword"
''change obipassword above to the password of your local Obi page login
strDirectoryPath = "C:\Call_History"
''change C:\Call_History above to the full path of the directory to save the history files into. The Directory must already exist.
''**** You must change the above 3 values to your specific configuration
You would get the error you mentioned if your OBi isn't at 192.168.0.40, so change that value in the script to the IPAddress returned when you dial ***1. Likewise, change "obipassword" to your OBi's admin password and "C:\Call_History" to a directory path on your PC where you want to save the call history files to.
I posted this script because I get corrupted call history files similar to what Stewart indicated he was getting when trying to download the call history file through the browser interface. Running this script, when properly configured, consistently produces a well formed call history xml file. I've found that opening the xml file in Internet Explorer will quickly let you know if the file is corrupted or not. You may have to scroll to the bottom of the screen to find the error if there is one. Look for beginning and ending tags <CallHistoryFile> and </CallHistoryFile> at the top and bottom of the file.