Ahmed, if you are talking about dial patterns then yes, freeswitch takes you a mile ahead and utilizes regular expressions for pattern matching, you could probably use something like this: "^([0-9]+)$"
above simple regex will allow any digit from 0 to 9 and + indicates repetitive, so this regex is equal to following asterisk's pattern: "_X." -gm João Mesquita wrote: > Not sure I understand what you mean. Can you explain what you are > trying to achieve a little bit better? > > jmesquita > > On Mon, Sep 14, 2009 at 4:18 AM, Ahmed Munir <[email protected] > <mailto:[email protected]>> wrote: > > Hi, > > I'm newbie in FS. I want to know how to Filter the string to > include only the allowed characters in FS? > > Kindly advice me. > -- > Regards, > > Ahmed Munir > > > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > <mailto:[email protected]> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > ------------------------------------------------------------------------ > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
