When the app is running in foreground, it can receive all keys events, but the line 1 key is always linked to close the app.
In background app can not be closed by line 1 key, but does not receive any key events.
So, is there a way to avoid closing the app with line 1 key when in foreground ?
or a way to receive events in background.
All that is for just a simple situation.
Assumes that Digium phones are made thinking asterisk (although they can be used with any other SIP server), Asterisk has special features like blind transfer, that can by used sending some dtmf (define in config)
How do I configure digium phone to send that dtmf when I press transfer hardkey?
I know the answer… I can’t not doit
So I wana make an app, that take digium control, and avoid normal operation of the phone when in calling. Allowing me to send whatever I want in response to user action.
But, when my app is running, user can close it by presing line 1 key, I need to avoid that.
Or I need to receive key and calling event in background
How can I do that ?