SetToneRetrievalCriteria functionality question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • avc895931167338
    Aspiring Member
    • Jan 2025
    • 1

    SetToneRetrievalCriteria functionality question

    Hi,

    I'm using DMCC ServiceProvider v4.0.30319.

    I'm using Device.getPhone.getMedia.SetToneRetrievalCriteria and I'm passing the number of tones set to 1.

    Normally when the end-user presses a DTMF digit, I get the OnTonesRetrievedEvent as expected.

    Occasionally when the end-user presses a DTMF digit I get the OnTonesRetrievedEvent twice within milliseconds of each other with the digit pressed being the same in both events. The end-user says they didn't press the digit twice.

    My question is this: since I set the SetToneRetrievalCriteria to tell me about only 1 tone, I shouldn't get the OnTonesRetrievedEvent twice, right? I should only get it once and I will have to SetToneRetrievalCriteria again to receive any more OnTonesRetrievedEvent events. Is this correct or does SetToneRetrievalCritera persist through multiple DTMF digit presses until the InitialTimeout and InterDigitTimeout has expired?

    Thanks in advance.
Loading