Patch to add ability to discard calls...breaks calls
#3
So (not for the first time) I was wrong about everything. Turns out, after building the new sxmo scripts, my pickup hook was spitting out a bad process id for my ring hook, and that's why it wasn't working properly. No idea how that changed since it worked perfectly fine before, but I tweaked and simplified it, and now it's all peachy. 

For reference, if this helps anyone else:

Previous pickup hook snippet:
Code:
ID=$(ps -ef|grep ring|grep -v grep|perl -ne '$_=~ m/^ *(.*) mo.*/;print $1')
kill -9 $ID

New pickup hook snippet:
Code:
ID=$(ps -ef|grep ring|grep -v grep|awk '{print $1}')
kill -9 $ID
  Reply


Messages In This Thread
RE: Patch to add ability to discard calls...breaks calls - by MungFuSensei - 02-05-2021, 09:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Line breaks in SMS log alpineduck 0 313 08-14-2023, 11:34 AM
Last Post: alpineduck
  no calls or texts hiimtye 7 5,820 07-13-2021, 10:22 PM
Last Post: hiimtye

Forum Jump:


Users browsing this thread: 1 Guest(s)