Script to record call in progress
Judgeless:
Works perfect. Thanks
MYOBi:
infin8loop,
Quote
please check the Status -> System Status -> Product Information -> Uptime for the Reboot Reason code that's in parenthesis. This may or may not tell us something.
(6) may be the reason code for reboot:
UpTime 0 Days 8:14:57 (6)
The code works perfectly. Thanks again, in case we need such a recording one day for "Quality control purposes!!"
RonR:
Reboot Reason Codes:
6: New Profile Invoked AND Profile URL Changed
MYOBi:
Can you please explain what this code does? Does it change the configuration file inside the OBI so it enables the device for recording (<- I am guessing here) and maybe that was the reason the profile was changed after first reboot?
The reason I am asking is when I was in a call today, during the converstion, both parties heard a female voice saying "This call is being recorded". We did not run this script at all during this call, and in fact the PC was OFF. We made the call from Google Voice (SP1). I am wondering if recorded announcement came from Google Voice, if not OBI itself.
When I run the script, we never heard "This call is being recorded" message before, although it is desired to hear that.
If profile is changed, what was changed in the profile to enable recording? Where can I look at in the expert mode or from the protal to find out profile enables recording if such a thing exist?
I searched and found this
https://groups.google.com/a/googleproductforums.com/forum/#!category-topic/voice/making-and-receiving-calls/Ct6NL05OgcA
Thanks,
infin8loop:
I suspect the "This call is being recorded" voice you heard was from Google Voice. Normally you would have to press "4" during the call to trigger Google Voice recording. I have the press "4" to record calls option disabled in my Google Voice settings but nevertheless I sometimes get the "This call is being recorded" voice during a call even though "4" has not been pressed by me or the other party. When this happens, the call is indeed recorded by Google Voice. The Google forum you cited seems to confirm this behavior is probably a bug in Google Voice. The OBi, as far as I know, does not have the capability (at this time) to voice a "This call is being recorded" when it's recording a call. If legally required to notify the other party, then you'd have to do so, verbally, yourself (nonlegalbeagledisclaimer).
As far as your reboot is concerned, as coincidental as it might seem, I don't have any reason to believe it was a result of running this script to record a call. In testing, I have never experienced a reboot (my UpTime confirmed this). I doubt the OBi recording a call involves making any changes to a profile.
The script simply emulates what pressing the "Record" button within the OBi interface does. When you press the "Record" button in the local OBi interface at http://your-obi-ip-address you are essentially launching page
http://your-obi-ip-address/record.au. You can confirm this by navigating directly to http://your-obi-ip-address/record.au during a call. Going there with no call in progress results in an empty page. The script accomplishes this by the lines objHTTP.open "POST", strURL, False, "admin", strPassword and objHTTP.send where strURL = "http://your-obi-ip-address/record.au".
The response, or recording is in objHTTP.responseBody and is obtained by line BinaryStream.Write objHTTP.responseBody into a BinaryStream object that is then written to the target file by line BinaryStream.SaveToFile strFileName, 2. Remember, all this script code is running on your PC, not the OBi. The only script interaction with the OBi is through the http://your-obi-ip-address/record.au URL that your browser would use when clicking the "Record" button.
All this can be verified by looking at the html source of the appropriate "frame" of the browser window that the local OBi interface uses.
Navigation
[0] Message Index
[#] Next page
[*] Previous page