What is DTMF?
DTMF tones are sent when browsing voice menus. Ask your VoIP provider which DTMF type to use with your account.
How to send a DTMF SEQUENCE with Zoiper WEB?
DTMF sounds will be played correctly only if you pass the digits one by one and leave a delay in between.
If you pass more than one digit to SendDTMF function at once you can hear only one DTMF sound.
Here is a sample code to get it to work correctly:
If you pass more than one digit to SendDTMF function at once you can hear only one DTMF sound.
Here is a sample code to get it to work correctly:
function SendDTMFSequence()
{
if (null != ActiveCall)
{
txt = GetValue("dtmfsequence");
for (i = 0; i < txt.length; i++)
{
ActiveCall.SendDTMF(txt.substring(i,i+1));
Status("dtmf sending : " + txt.substring(i,i+1));
sleep(400);
}
}
}