Script to record call in progress

<< < (6/13) > >>

MikeHObi:
I have the Obi202
HardwareVersion   1.3   
SoftwareVersion   3.0.0 (Build: 3460)

Calling into the obi, on the local admin webpage I get record call as an option on the call status page using Chrome web browser.  Clicking it during the call starts a download of a file called record.au which continues to download until the call ends.  Inside this .au file is the audio of the call.

Calling from the obi, on the local admin webpage I get record call as an option on the call status page using the Chrome web browser.  Clicking it during the call starts a download of a file now called record(1).au which continues to download until the call ends.  Inside this .au file is the audio of the call.

Of course if I have an incoming call on my google voice line I can press 4 and it will record the call and store it in google voice.

I didn't try the script.

QBZappy:
The Record button not showing up in my Firefox v16.0.2 could very well be a browser compatibility issue.

skipro:
If I call into the Obi through and phone associated with Obi, a record button will show. If I call into Obi from a phone not associated with Obi I get no record button. Mike, did you call into Obi from a phone /line not associated with Obi?

MikeHObi:
did another test.  Firefox 16.0.2 button allowed recording... asked me to verify the save, but worked, both with me calling via my cell, or calling my cell via the obi.

IE 9 button allowed recording, asking me to save etc same thing, calling my cell or my cell calling in.

So all my browsers work. 

As far as how it's done.  Home phone is on phone port 1 of the obi and it is set to call out using Google Voice.  I have it call my personal google voice number that rings my cell (not my cell's direct number). 
When I call my home on my cell, I have it call using google voice, to the google voice number for my home.  That routes it to an anveo DID with fee incoming calling.

I don't know what associated with the obi means.  the anveo line is setup as sp3, callcentric is still setup as sp2, and google voice is sp1.

infin8loop:
Quote from: Bay11 on November 02, 2012, 07:07:00 pm

Infin8loop, can you help me please.
...
https://www.box.com/s/kzzau8jkwcr8urd4zg0s


I don't have an OBi202, so I cannot test. 

Looking at the source for callstatus.htm (from an Obi202) in the above "box" file (posted by bay11) I see:

function click_record(p){
var a;
a="record.au?port="+p;
document.forms[0].action=a;
document.forms[0].submit();
}

The above function click_record(p) appears to invoke url
"http://your-obi-ip-address/record.au?port=0"

The port is zero because in the code I'm looking at the function click_record is invoked when clicking
the "record" button by code:

<input class=buttoninput type=button value='Record' onClick="click_record(0)">.

Notice the zero being passed as a parameter to the function.
I don't know if the parameter will always be zero or will vary depending on what call(s) are in progress. 

I suggest someone with both my original script and an Obi202 do the following:

Make sure you modify the following 3 lines in the script as shown:

strURL = "http://192.168.0.40/record.au?port=0"
''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_Recordings"
''change C:\Call_Recordings above to the full path of the directory to save the call recordings into. The Directory must already exist.

Notice the addition of "?port=0" to the strURL string which is not in the original script because the OBi110 doesn't (or didn't) need it. The poster of the htm file (bay11) appears to have had only 1 call in progress at the time of the callstatus.htm source capture.  If memory serves me correctly, an OBi110 only has one "record" button even if more than one call is in progress.  Pressing "record" will record whatever call in on the phone as you "flash" dial between the calls (if that makes sense). I don't know what the OBi202 shows. Does an OBi202 show more than one record button for multiple calls necessitating the port number?   

Navigation

[0] Message Index

[#] Next page

[*] Previous page