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
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@gmail.com <mailto:ahmedmunir007@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Ahmed Munir
-
Ghulam Mustafa
-
João Mesquita