Script to record call in progress
ubergoober:
2nd Alternative approach? Node-Red running on the Pi. I directed Obi202 syslog output to udp port 1514. Node-Red running as a service captures the syslog events, and when an off-hook message comes through, executes a wget based shell script to "press" the record button for the appropriate port. Upon completion, the CDR callhistory.htm page is called and the caller ID is used to rename the recording with a timestamp, and if the call was received or placed, in the filename. Completely hands free operation, while accommodating both ports.
You can find this node-red flow at the node-red library: http://flows.nodered.org
or on github:
https://gist.github.com/tomlynn/1acb62db43de9b7f8bc0750f02307d54
Noodles:
Infin8loop, great script! Thank you!
Anyone know how can I append the complete phone number associated with the call to the file name in the vb script? Would like to add it at the end of the current file name scheme so I can quickly search when needed.
Thanks again!
nn
ubergoober:
@Noodles,
You'll want to have your script wait a second or two after the recording completes and then look at the contents of http://obi-ip-address/callhistory.htm It contains the list of call detail records. Good luck.
AutoCallRecorder:
Hello,
Like many of you, I got frustrated with the Obihai's seeming inability to record calls automatically. I've adapted the OP's script so that, as long as its running, it will monitor the call status page for active calls from/to numbers white-listed in the script and record those calls, producing an output file with the callers'/recipients' name. Make sure that the script starts up with Windows.
I might adapt the script so that it's easier to expand the number of filtered names and numbers (by adding an array for it to check rather than just blocks of if statements) if there's any popular demand. Additionally, if anyone requests, and time permits, I could modify the script so that it records all phone numbers and names the resulting files with the phone number included.
Enjoy!
GoogleFan:
Can anyone help me?
I don't have the record button at all on my Obi1032 device. I only have it on my Obi200.
Is something wrong with my device?
Thanks
Navigation
[0] Message Index
[#] Next page
[*] Previous page