Playback digits

Hi all, complete newb to asterisk and decided to get my feet wet by following the O’Reilly definitive guide 4th edition. I’m on the section for building an interactive dial plan and hit a road block where after dialling ext 201 I hear a message and then enter digits 1 or 2 and nothing happens whereas it’s supposed to read the entered digit back.

I’m using x-lite 4.8 and not sure if it’s got anything to do with that and dtmf?

Here’s some of the code I’m using on my test server:

exten => 201,1,Goto(TestMenu,start,1)

[TestMenu]
exten => start,1,Answer()

[TestMenu]
exten => start,1,Answer()
same => n,Background(enter-ext-of-person)
same => n,WaitExten(5)

exten => 1,1,Playback(digits/1)

exten => 2,1,Playback(digits/2)

You have two contexts with he same name; only one will be used.

Hi David, thanks for that I missed that typo and removed it now. Tried again with same result until I changed the dtmf setting in x-lite to rfc 2833 and sip info and it’s working now :smiley: