[Freeswitch-users] RegEx Help

Anthony Minessale anthony.minessale at gmail.com
Mon Nov 9 15:04:13 PST 2009


If the global var "auto_hunt" is "true" the xml dialplan will try to find an
extension where the "name" param matches the destination number.  This is
not the default

The default is to try them in order from top to bottom.



On Mon, Nov 9, 2009 at 3:20 PM, Michael Collins <msc at freeswitch.org> wrote:

>
>
> On Mon, Nov 9, 2009 at 1:10 PM, <Russell.Mosemann at cune.org> wrote:
>
>> Dave Stevenson <stevendt at primrosebank.net> said:
>>
>> > ^([1-3][1-9][0-9]|[2-3][0-9][0-9])$
>>
>> Another possibility.
>>
>> ^(1(0[1-9]|[1-9]\d)|[2-3]\d{2})
>>
>>
> Yep this is the one. I'm sorry I didn't read the OP correctly the first
> time. Skipping 100 and matching 101 is the tricky part, obviously. This
> regex should fit the bill.
> -MC
>
>
> _______________________________________________
> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091109/77405a75/attachment-0002.html 


More information about the FreeSWITCH-users mailing list