<p dir="ltr">Hi</p>
<p dir="ltr">I have a dialplan as per the following,<br>
<br>
extensions.conf<br>
[avgtest]<br>
exten = 100,n,Playback(avgtest/message1)<br>
exten = 100,n,Set(rightPIN=1)<br>
exten = 100,n,Read(inPIN,,1,,5,3) ; Attempts for 5 times with 3 seconds of timeout<br>
exten = 100,n,GotoIf($["${inPIN}" = "${rightPIN}"]?pin-accepted,1)<br>
exten = 100,n,Hangup() ; Didn't go to pin-accepted, so play badPIN and hangup<br>
exten=pinaccepted,1,Playback(avgtest/message2) ; correct pin, play </p>
<p dir="ltr">sipconf<br>
[1001]<br>
uername=1001<br>
secret=1001<br>
context=avgtest<br>
disallow=all<br>
allow=ulaw<br>
allow=alaw<br>
dtmfmode=auto<br>
type=friend<br>
host=dynamic<br>
canreinvite=yes<br>
relaxdtmf=yes</p>
<p dir="ltr">This looks very simple but dtmf is not recognised. </p>
<p dir="ltr">Am using asterisk 11. </p>
<p dir="ltr">Any suggestions is much appreciated. </p>
<p dir="ltr">Regards<br></p>