News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

Auto Record All Calls

Started by dlee, February 03, 2012, 10:46:07 AM

Previous topic - Next topic

dlee

[I searched this forum before posting]

I would like the ability to record all calls (either inbound or outbound) automatically...
For example, to have all calls recorded to my USB drive attached to my router.

The USB Drive is also accessible via FTP, SMB, etc.
I am running "Tomato USB" on router.

Right now I have to manual goto web page in FireFox and press record, which then prompts me to save "record.au"

infin8loop

Quote from: dlee on February 03, 2012, 10:46:07 AM
[I searched this forum before posting]

I would like the ability to record all calls (either inbound or outbound) automatically...
For example, to have all calls recorded to my USB drive attached to my router.

The USB Drive is also accessible via FTP, SMB, etc.
I am running "Tomato USB" on router.

Right now I have to manual goto web page in FireFox and press record, which then prompts me to save "record.au"


Recording calls automatically could probably be accomplished externally if you (or anyone else) wanted to get their code freak on.  I have no inclination at the present time to mess with it but it would probably be trivial to leverage the following two scripts:

Script to record call:
http://www.obitalk.com/forum/index.php?topic=2348.msg15158#msg15158

Syslog script:
http://www.obitalk.com/forum/index.php?topic=185.msg9107#msg9107

In summary, the syslog script would have to be modified to watch for both incoming and outgoing calls and launch the record call script. However, be aware that other posters who have developed syslog scripts have recently observed that changes have been to the syslog output which has broken their scripts. 

"This has not only been fun, it's been a major expense." - Gallagher

dani

Looking at the script, the bare procedure to record a call would be:

- open http://192.168.0.xx/record.au (preferably while the call is ringing, to catch all of it)

- save the file that comes up from it

Ideally the file should be renamed, to avoid overwrite, but at minimum clicking a bookmark to open that address in a browser would do the trick.

oneshot719

When accessing the URL, it restarts my obi202. And kills any active calls.

http://192.168.0.189/record.au

infin8loop

Quote from: oneshot719 on January 09, 2013, 07:07:07 AM
When accessing the URL, it restarts my obi202. And kills any active calls.

http://192.168.0.189/record.au

The instructions here predate the OBi202 and work on an OBi100/110. 

For an OBi202 you will need to add ?port=n to the end of the URL like:

http://192.168.0.189/record.au?port=n

Where n = 0 for PhonePort#1 or 1 for PhonePort#2

Apparently there is no error checking on the OBi202 and omitting the port parameter causes bad things to happen.  Normally either 0 or 1 would be supplied via the link you'd click on the OBi's web page to record a call. So they probably didn't think to do any validation. In programmer speak we call this an "on error make excuse" clause.


"This has not only been fun, it's been a major expense." - Gallagher

oneshot719

Where is this link referenced in the management console for the obi202?
I don't see it.
I also tried using the proper url that you gave me and while it does not reboot the obi202 now, i am not familiar with the process.
I called a number and when the line was active, i hit the url and waited a few seconds and then hung up the line however it never gave me a recording. Am I doing something wrong?

oneshot719