VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ahmedmunir007 at gmail... Guest
|
Posted: Mon Sep 14, 2009 2:28 am Post subject: [Freeswitch-users] How to filter the allowed string |
|
|
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 |
|
Back to top |
|
|
jmesquita at freeswitc... Guest
|
Posted: Mon Sep 14, 2009 8:43 am Post subject: [Freeswitch-users] How to filter the allowed string |
|
|
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 (ahmedmunir007@gmail.com)> wrote:
|
|
Back to top |
|
|
mustafa.pk at gmail.com Guest
|
Posted: Mon Sep 14, 2009 9:19 am Post subject: [Freeswitch-users] How to filter the allowed string |
|
|
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:
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|