No ~/.config directory
#3
(01-23-2021, 01:08 AM)hiimtye Wrote: you should have a .config directory but it is not necessary to receive calls. the hooks folder is for running scripts, ie a ringtone or sending an email or what ever else you can imagine. they're not the core functionality of the phone.

you probably haven't enabled the modem (config -> modem toggle)

Code:
acceptcall() { CALLID="$1" echo "Attempting to initialize CALLID $CALLID">&2 DIRECTION="$( mmcli --voice-status -o "$CALLID" -K | grep call.properties.direction | cut -d: -f2 | tr -d " " )" if [ "$DIRECTION" = "outgoing" ]; then modem_cmd_errcheck -m "$(modem_n)" -o "$CALLID" --start log_event "call_start" "$CALLID" echo "Started call $CALLID">&2 elif [ "$DIRECTION" = "incoming" ]; then if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/pickup" ]; then echo "Invoking pickup hook (async)">&2 "$XDG_CONFIG_HOME/sxmo/hooks/pickup" & fi

This is from the modemcall script, and it's looking for the pickup hook. Doesn't do anything else for incoming calls.
  Reply


Messages In This Thread
No ~/.config directory - by MungFuSensei - 01-22-2021, 11:24 PM
RE: No ~/.config directory - by hiimtye - 01-23-2021, 01:08 AM
RE: No ~/.config directory - by MungFuSensei - 01-23-2021, 01:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)