Update user defined digitmap from a script
DeanJunk:
Is there anyway to update the user defined digitmaps with a script? I created a PERL script to download the callhistory.xml from the device and then process the calls from it. Any outbound number goes into a whitelist file and all inbound numbers not found in the whitelist file are inserted into a blacklist file (which I check daily). I also build a digitmap string of the blacklist numbers and place it in a separate file which I manually paste into the user defined digit map. Now I would like to do that from the script. Any ideas? By using a web inspector, there might be a DIGITMAPS.xml on the device? Any help would be appreciated.
QBZappy:
DeanJunk
You wanna make $50?
Re: REPORTING! REPORTING! REPORTING! Easy and MUST have feature
http://www.obitalk.com/forum/index.php?topic=3048.msg26384#msg26384
infin8loop:
Quote from: DeanJunk on September 16, 2012, 06:14:44 am
Is there anyway to update the user defined digitmaps with a script? I created a PERL script to download the callhistory.xml from the device and then process the calls from it. Any outbound number goes into a whitelist file and all inbound numbers not found in the whitelist file are inserted into a blacklist file (which I check daily). I also build a digitmap string of the blacklist numbers and place it in a separate file which I manually paste into the user defined digit map. Now I would like to do that from the script. Any ideas? By using a web inspector, there might be a DIGITMAPS.xml on the device? Any help would be appreciated.
There is a DIGITMAPS_.xml (notice the underscore). This xml is rendered and processed by default.xsl as seen at the top of a view source on the xml file. The process makes my head hurt. I'm not really up on xsl/xslt so I cannot offer more of a scripting solution at the moment. If you managed to do all that in PERL, perhaps this info will help you run with it. Good luck.
DeanJunk:
I figured out a way to update the field on the form and click the submit button, but now I can't figure out how to click the ok button on the confirmation popup. Anyone deal with popups that ask OK/Cancel? I'm using curl to do the first part. I have the same issue with the remove all on the call history form. Since the webserver on the OBI has issues when transferring the call history xml file when there are more than 50 entries, I decided to download the current entries (from the last date/time), store them in a file for true history and then remove everything on the OBI. Any help would be appreciated!
Thanks!
QBZappy:
DeanJunk,
Use M$oft excel to view the xml file.
Navigation
[0] Message Index
[#] Next page