May 19, 2013, 01:35:13 pm *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: Auto Record All Calls  (Read 3427 times)
dlee
Newbie
*
Posts: 11


« 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"
Logged
infin8loop
Full Member
***
Posts: 203



« Reply #1 on: February 03, 2012, 12:55:14 pm »

[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. 

Logged
dani
Newbie
*
Posts: 40


« Reply #2 on: April 11, 2012, 08:27:26 am »

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.
Logged
oneshot719
Newbie
*
Posts: 3


« Reply #3 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
Logged
infin8loop
Full Member
***
Posts: 203



« Reply #4 on: January 09, 2013, 11:37:24 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.


Logged
oneshot719
Newbie
*
Posts: 3


« Reply #5 on: January 09, 2013, 11:52:25 am »

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?
Logged
oneshot719
Newbie
*
Posts: 3


« Reply #6 on: January 09, 2013, 12:07:00 pm »

found out my issue, i had to use port0

http://192.168.0.189/record.au?port=0
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC