DTMF Cutting short, echoing digits

I am in the process of moving to Freepbx 17 using Debian 12 Linux. I have fixed everything I need to do moving from Freepbx 14 (ie macro to gossub, works great). But I have a real issue with dtmf echoing incorrect tones often doubling the tone and failing the entry.

I use a extensions_custom as I use freepbx as a IVR/audiotext system. Here is the dialplan portion that is failing:

exten => s,n(cc_in),Noop(next step)
exten => s,n,Playback(silence/1)
exten => s,n,Set(TIMEOUT(digit)=5)
exten => s,n,Read(vrCCNum,custom/cusprompt_08,16,#,1,30)
exten => s,n,GotoIf($[${LEN(${vrCCNum})}>0]?luhn:cc_inv)
exten => s,n,NoOp(User entered: ${vrCCNum})
exten => s,n,NoOp(Length: ${LEN(${vrCCNum})})
exten => s,n(luhn),AGI(luhn.php,${vrCCNum})
exten => s,n,GotoIf($[“0${vrCCIsValid}”=“01”]?cc_exp)
exten => s,n,Playback(custom/cusprompt_09)
exten => s,n,Goto(bye)

So 9 times out of 10 when I get to the last digit the card fails because somewhere it has put an extra digit that I did not press.

I am at my wit ends with why this is happening. I am based in Australia my trunk DTMF Mode is set to Auto but i did have it set to RFC 4733. I am on PJSIP. In version 14 I didn’t have this problem at all.

Any guidancece would be greatly appreciated, of where and what I need to look at and change. I have spent a week trying different thngs and nothing appears to work.

Thanks in advance.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.