[Freeswitch-users] How to filter the allowed string
Ghulam Mustafa
mustafa.pk at gmail.com
Mon Sep 14 07:03:56 PDT 2009
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 <ahmedmunir007 at gmail.com
> <mailto:ahmedmunir007 at gmail.com>> 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
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> 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
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
More information about the FreeSWITCH-users
mailing list