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 DTMF #2

Open
babayanta1994 opened this issue Jan 13, 2025 · 1 comment
Open

Send DTMF #2

babayanta1994 opened this issue Jan 13, 2025 · 1 comment

Comments

@babayanta1994
Copy link

How can I send dtmf code with info mode or auto?

@siprix
Copy link
Owner

siprix commented Jan 14, 2025

Existing model's function 'CallModel::sendDtmf(String tone)'
internally invokes library's function:
SiprixVoipSdk::sendDtmf(int callId, String tones, int durationMs, int intertoneGapMs, **[int method = kDtmfMethodRtp]**)
where as method app can set one of: kDtmfMethodRtp or kDtmfMethodInfo

Currently you can replace:
widget.myCall.sendDtmf(tone)
with
SiprixVoipSdk().sendDtmf(widget.myCall.myCallId, tone, 200, 50, SiprixVoipSdk.kDtmfMethodInfo);

In next builds we'll update 'CallModel::sendDtmf' with ability to specify more argument.

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

No branches or pull requests

2 participants