untrusted comment: verify with signify key from exoticsilicon.com
RWRn5d3Yx35u09xwOByM4HRzNwB6WuA+UZCcVUrOBrqAfyU+uU2O475yQE5yySScfGrV5RJP3xKoKumfDdcOsR6OzTfVor5+fgc=
Patch from Exotic Silicon, please see https://www.exoticsilicon.com/patchsets
for more details.
This patch is intended to apply to sxmo_modemcall.sh in SXMO version 1.4.1.
It adds basic PSTN call recording, cell information logging, and automatic
announcement playback when answering incoming calls.
There are known issues with this patch, and it is presented as a
proof-of-concept only.
THIS PATCH IS PROVIDED 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
EXOTIC SILICON BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS PATCH, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
98a108,111
mkdir $HOME/call_rec/ 2> /dev/null
CALLERID=$(vid_to_number "$CALLID")
if [ -z "$CALLERID" ] ; then CALLERID="unknown" ; fi
FILENAME=$HOME/call_rec/date +%Y%m%d_%H%M%S
_$CALLERID
102a116,118
arecord -f dat "$FILENAME"_out.wav &
CELL_INFO="$(mmcli -m "$(modem_n)" --location-get -K | grep 3gpp)"
echo "$CELL_INFO" > "$FILENAME"_out.log
112a129,132
arecord -f dat "$FILENAME"_inc.wav &
CELL_INFO="$(mmcli -m "$(modem_n)" --location-get -K | grep 3gpp)"
echo "$CELL_INFO" > "$FILENAME"_inc.log
aplay $HOME/answer.wav 2> /dev/null &
Proxy Information
- Original URL
- gemini://gemini.exoticsilicon.com/local_patchsets/patchset_call_recording.sig
- Status Code
- Success (20)
- Meta
text/plain
- Capsule Response Time
- 406.544197 milliseconds
- Gemini-to-HTML Time
- 0.693557 milliseconds
This content has been proxied by September (ba2dc).