Hi
I have a dialplan as per the following,
extensions.conf
[avgtest]
exten = 100,n,Playback(avgtest/message1)
exten = 100,n,Set(rightPIN=1)
exten = 100,n,Read(inPIN,,1,,5,3) ; Attempts for 5 times with 3 seconds of
timeout
exten = 100,n,GotoIf($["${inPIN}" = "${rightPIN}"]?pin-accepted,1)
exten = 100,n,Hangup() ; Didn't go to pin-accepted, so play badPIN and
hangup
exten=pinaccepted,1,Playback(avgtest/message2) ; correct pin, play
sipconf
[1001]
uername=1001
secret=1001
context=avgtest
disallow=all
allow=ulaw
allow=alaw
dtmfmode=auto
type=friend
host=dynamic
canreinvite=yes
relaxdtmf=yes
This looks very simple but dtmf is not recognised.
Am using asterisk 11.
Any suggestions is much appreciated.
Regards
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users