sinchdtmf

how to send DTMF tones over sinch javascript web to PSTN calls?


I have been looking for a long time but cannot find anything regarding this little quest of mine. I have successfully implemented the sinch sdk into my system and its calling perfectly fine. Now I'd like to send DTMF tones if the call is answered by a PABX.


Solution

  • Hi on the call object there is a sendDTMF method DTMF key must be in [0-9, #, *, A-D]. Ios:

    [call sendDTMF:@"1"];
    

    https://download.sinch.com/docs/iOS/latest/reference/html/Protocols/SINCall.html#//api/name/sendDTMF:

    Android

    call.sendDTMF("1");