Using DTMF in pjsua

NT
Niels Thole
Fri, Feb 17, 2017 7:56 AM

Hello everyone,

I just started using pjsip and I tried to use some existing examples to
receive DTMFs. First, I tried to adjust the simple_pjsua.c sample by
adjusting the login data and adding a corresponding function to
cfg.cb.on_dtmf_digit. I can receive calls, but the handling function is
never called when DTMFs are sent. In a second try, I run the pjsua_app in a
console without any modification on two different computers and add a
different account on each. One can call the other sucessfully, but when I
want to send DTMF via RFC 2833 or INFO (# or *), no corresponding log entry
appears.

Are there some additional preparating steps required that I missed?

pjsua did not find default audio devices, could this be a problem?

And if it should be relevant: I build pjsip using minGW on Windows 10.

Also, I'm sorry if you receive this mail twice as I sent it yesterday
already before registering for the list. However, neither did it appear in
the daily digest, nor in the archive, so I assume it got lost.

Thanks a lot for your help!
Best wishes,
Niels

--

Symcon GmbH
Willy-Brandt-Allee 31b
D 23554 Lübeck
T: 0451 30500511
A: www.ip-symcon.de

Hello everyone, I just started using pjsip and I tried to use some existing examples to receive DTMFs. First, I tried to adjust the simple_pjsua.c sample by adjusting the login data and adding a corresponding function to cfg.cb.on_dtmf_digit. I can receive calls, but the handling function is never called when DTMFs are sent. In a second try, I run the pjsua_app in a console without any modification on two different computers and add a different account on each. One can call the other sucessfully, but when I want to send DTMF via RFC 2833 or INFO (# or *), no corresponding log entry appears. Are there some additional preparating steps required that I missed? pjsua did not find default audio devices, could this be a problem? And if it should be relevant: I build pjsip using minGW on Windows 10. Also, I'm sorry if you receive this mail twice as I sent it yesterday already before registering for the list. However, neither did it appear in the daily digest, nor in the archive, so I assume it got lost. Thanks a lot for your help! Best wishes, Niels -- Symcon GmbH Willy-Brandt-Allee 31b D 23554 Lübeck T: 0451 30500511 A: www.ip-symcon.de