Skip to content
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

Send busy tone when blocking a call instead of hanging up #76

Open
Nick1024-cw opened this issue Mar 12, 2021 · 3 comments
Open

Send busy tone when blocking a call instead of hanging up #76

Nick1024-cw opened this issue Mar 12, 2021 · 3 comments

Comments

@Nick1024-cw
Copy link

I was wondering if it would be possible instead of hanging up after 2 seconds when a call is blocked, to have an alternative option where a busy tone would be sent to the caller indicating that the line is busy. I don't know how telephony works and I am not sure if this can be done at all.

@pamapa
Copy link
Owner

pamapa commented Mar 15, 2021

Are you using analog phone or sip phone?

For SIP phone:
Its possible to return a busy state. In side src/SipAccount.cpp function SipAccount::onIncomingCall

For analog phone:
I did not find an AT command to achieve that. Maybe someone else does? The related code is in side src/AnalogPhone.cpp function AnalogPhone::run

@Nick1024-cw
Copy link
Author

Thank you for your reply. I am using an analog phone. Basically, I am trying to find a way to block the call without picking up the phone at all. I found https://stackoverflow.com/questions/42913125/block-incoming-call-hang-up-using-modem and it seems that maybe it is possible to disconnect the call without picking it up.

@pamapa
Copy link
Owner

pamapa commented Apr 9, 2021

Would be nice if you can try this out....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants