Is there a way to send DTMF tones during a conversation using linphone?

I am trying to send a sequence of DTMF tones during a SIP call from linphone compiled for iPhone in order to do some call control on the local exchange that I set up. I can see from the code that individual digits send DTMF (no sound in the line), but I can not send the string of numbers manually.

When I try, I get only one digit. I could set a delay and a timer, but it just doesn't seem like how to do it - and a long string of tones will take a long time to send with the necessary confirmations.

I read that you can send DTMF as part of a SIP INFO message, but you cannot find a tool in linphone to create a SIP INFO message.

Could anyone do this or have any suggestions as to what I could try?

+4
source share
1 answer

For me, the problem is with changing the audio codec to speex @ 32000 Hz. I do not know exactly why he decided this, but the DTMF signals were not previously processed by the server, whereas now they are.

For reference, I am using the recent build of Linphone 3.8.1.

+3
source

Source: https://habr.com/ru/post/1396721/


All Articles