~mil/sxmo-tickets#541: 
automate recording

using https://github.com/the-modem-distro/pinephone_modem_sdk/blob/kirkstone/tools/helpers/retrieve_recordings/get_recordings (you would have to change the first line for directory to save)

with something like

mv $(echo $file|sed 's@./@@') $(date +%s)$(echo $file|sed 's@./@@;s/.*_//')

after adb pull to fix the date

and adding something like

[ $1 == "+223344556677" ]&&(cat $HOME/.local/share/sxmo/modem/+223344556677/sms.txt|tail -n 3|grep -q wav)&&get_recordings

at the start of the sxmo_hook_sms.sh it would be able to retrieve the recording

to enable it there would need to be a switch that runs

sxmo_modemsendsms.sh +223344556677 'record all calls' and then enable running doas adb start-server at boot then to disable sxmo_modemsendsms.sh +223344556677 'stop recording calls'

Status
REPORTED
Submitter
~bgkillas
Assigned to
No-one
Submitted
2 years ago
Updated
1 year, 10 months ago
Labels
feature

~kohn 1 year, 10 months ago

What is this ticket about and how adb is related to this. Is this an audio recording feature? Please explain.

~bgkillas 1 year, 10 months ago

oh whoops i should have done something like "automate grabbing recorded calls from modem"

~phartman 1 year, 10 months ago

Nice idea! But what would the use case be? Almost every carrier I can think of has voice mail.

Plus, such a program would require the phone to be on, which a carrier's voice mail does not require.

On Mon, Jan 02, 2023 at 02:46:17PM +0000, ~bgkillas wrote:

oh whoops i should have done something like "automate grabbing recorded calls from modem"

-- View on the web: https://todo.sr.ht/~mil/sxmo-tickets/541#event-219620

-- sic dicit magister P https://phartman.sites.luc.edu/ GPG keyID 0xE0DBD3D6 (CAE6 3A6F 755F 7BC3 36CA 330D B3E6 39C6 E0DB D3D6)

~phartman referenced this from #541 1 year, 10 months ago

~kohn 1 year, 10 months ago

Plus, such a program would require the phone to be on, which a carrier's voice mail does not require.

We can use both. When device is online, local voicemail is in use. When device is offline, voicemail server is in use.

Important note: In my country, the government (ministry of communication) has ordered to disable voicemail servers unless customer desires it. The problem is when the government would order to cease voicemail entirely.

How come a simple feature that was available during the 80's is now rare? I see a pattern, to make us attached to a tracking device. Did you not notice?

See https://todo.sr.ht/~mil/sxmo-tickets/544

Register here or Log in to comment, or comment via email.