New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: RunOnReceive for calls #309

Open
NitramLegov opened this Issue May 15, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@NitramLegov

NitramLegov commented May 15, 2017

It would be great to be able to automatically execute a shell script once an incoming call is detected (could be used in combination with HangupCalls, so that the phone hangs up and then executes a script).

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel May 15, 2017

Member

That should be pretty easy to add, it mostly just needs to connect existing functionality.

Member

nijel commented May 15, 2017

That should be pretty easy to add, it mostly just needs to connect existing functionality.

@ahsanbarkati

This comment has been minimized.

Show comment
Hide comment
@ahsanbarkati

ahsanbarkati Jun 6, 2017

Can you please explain me what is to be done in more detail.

ahsanbarkati commented Jun 6, 2017

Can you please explain me what is to be done in more detail.

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Jun 12, 2017

Member

What needs to be done:

  • SMSD_RunOn is currently bound to SMS messages, the script execution should be probably separated from that
  • Once separated script execution from passing parameters, another helper for calls can be introduced
  • It can be used in SMSD_IncomingCallCallback
Member

nijel commented Jun 12, 2017

What needs to be done:

  • SMSD_RunOn is currently bound to SMS messages, the script execution should be probably separated from that
  • Once separated script execution from passing parameters, another helper for calls can be introduced
  • It can be used in SMSD_IncomingCallCallback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment