Re: [Freeswitch-users] validating dtmf digits received

2009-10-19 Thread Michael Jerris
inline is new, it won't work unless your using recent trunk. That being said, read is not being run inline, so the set is actually being run before digits_dialed is set. You will most likely need to use transfer in this situation. Mike On Oct 19, 2009, at 12:53 AM, Mark Campbell-Smith

Re: [Freeswitch-users] validating dtmf digits received

2009-10-19 Thread Mark Campbell-Smith
Thanks Mike, I have a lateish trunk and inline seems to work okay. Does the inline statement below set variable ${code} to be used directly or does it require transfer also? ie is digits_dialed available for use right after a read statement (action application=read data=1 10

Re: [Freeswitch-users] validating dtmf digits received

2009-10-19 Thread Michael Jerris
inline is run when the dialplan in parsed, everything else is run later. So read sets digits dialed after it is finished parsing the dialplan, if you transfer to another extensions after the read you can then condition on that value. Mike On Oct 19, 2009, at 5:40 PM, Mark Campbell-Smith

[Freeswitch-users] validating dtmf digits received

2009-10-18 Thread Mark Campbell-Smith
Hi! I simply want to validate the dtmf digits I read from a user.From the wiki, it appears I need to use inline=true when setting the variable so it can be used directly within the same extension. What have I done wrong below? I have tried many different alternatives, but the second