4

I'm trying to send a sequence of DTMF tones during a SIP call from linphone, compiled for the iPhone, in order to do some call management at a local exchange I've set up. I see from the code that the individual digits send DTMF (without audio on the line), but I can't seem to send a string of digits manually.

When I try, I just get a single digit sent. I could put in a delay and timer, but that just doesn't seem the way to go about it - and a long string of tones would take a long time to send with the necessary acknowledgements.

I've read that you can send DTMF as part of a SIP INFO message, but can't find the facility in linphone to construct a SIP INFO message.

Has anyone been able to do this or have any suggestions as to what I could try?

1 Answer 1

3

For me, changing the audio codec to speex @ 32000 Hz solved the problem. I'm not sure exactly why it solved it, but beforehand DTMF signals were not being recoknized by the server, whereas now they are.

For reference, I'm using the recent Linphone 3.8.1 build.

4
  • That fixed it for me too. Thanks!
    – Sergio
    Feb 9, 2017 at 0:29
  • @user1079052 - the settings in the older 3.x builds allowed you to choose the audio codec, I found that choosing a codec with a higher bitrate did the trick for me..
    – nbubis
    Nov 3, 2017 at 11:02
  • Where can I find the settings? I am running 3.9.1 Nov 3, 2017 at 12:45
  • 1
    There is no clue in the UI, but you can drag to re-order the audio codecs. Speex @ 32000 is already present. Just drag it to the top and enable it
    – Greg Woods
    Nov 13, 2019 at 16:29

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.