Creating a simple sip call using Android Native sip stack (SipManager). In
my app when i click on Fab button ,i wish to send two dtmf tone. but my
issue is neither i get any error nor the DTMF is received on the server
site. i would higly appreciate for any suggestion. link to android
tutorial
<https://developer.android.com/reference/android/net/rtp/AudioGroup#sendDtmf(int)>
public void sendDtmf(int code) {
call.sendDtmf(code, null);
}
fab.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
if(event.getAction() == MotionEvent.ACTION_DOWN) {
sendDtmf1();
Log.e("$$", " 007-pressed");
} else if (event.getAction() == MotionEvent.ACTION_UP) {
sendDtmf2();
Log.e("$$", "007-released");
}
return true;
}
});
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/8fd697e2-3999-4b15-b6f3-2c63efac458b%40googlegroups.com.