sip - Android pjsip DTMF codes not sending -
starting illustration found here: https://trac.pjsip.org/repos/wiki/getting-started/android , managed build , run pjsua2 sample application.
the problem can't send dtmf codes, appear in logcat aren't sent @ (i checked wireshark). 1 time phone call has status confirmed, seek send dtmf codes this:
currentcall.dialdtmf("123#"); or
currentcall.dialdtmf("1"); currentcall.dialdtmf("2"); currentcall.dialdtmf("3"); currentcall.dialdtmf("#"); if send these codes server should start playing sound, have feedback codes sent correctly. problem not on server side because have tested other 3rd party apps.
i have tried next no luck:
ondtmfdigitparam dtmfdigitparam = new ondtmfdigitparam(); dtmfdigitparam.setdigit("1"); currentcall.ondtmfdigit(prm); any other ideas?
edit: think it's got rtp ? library doesn't seem respond server's message (rtp g711a - sent after ack @call established/confirmed) sends android app.
thanks!
check type of dtmf server accepts.
pjsua2 dialdtmf method send dtmf digits remote using rfc 2833 payload formats.
you can see dtmf packets in wireshark rtp event.
see below link reference...
http://www.pjsip.org/docs/book-latest/html/call.html
android sip pjsip dtmf
No comments:
Post a Comment