Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How to filter the allowed string


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ahmedmunir007 at gmail...
Guest





PostPosted: Mon Sep 14, 2009 2:28 am    Post subject: [Freeswitch-users] How to filter the allowed string Reply with quote

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





PostPosted: Mon Sep 14, 2009 8:43 am    Post subject: [Freeswitch-users] How to filter the allowed string Reply with quote

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:
Quote:
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 (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
mustafa.pk at gmail.com
Guest





PostPosted: Mon Sep 14, 2009 9:19 am    Post subject: [Freeswitch-users] How to filter the allowed string Reply with quote

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:
Quote:
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



_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services