[Freeswitch-users] Direct inward dialling

Michael Collins msc at freeswitch.org
Wed Jun 2 11:17:59 PDT 2010


On Tue, Jun 1, 2010 at 7:57 PM, Ron McLeod <ron.freeswitch at mcleodnet.com>wrote:

>  Is  [32|48|54|55|65]  correct?  Shouldn’t it be  (32|48|54|55|65)
> instead?
>
>
>
>
>
> ^\+?1?(0[0-1]+)?((32|48|54|55|65)\d+)\;?(phone-context=)?\+?(\d+)?$
>
Also, you really don't need the dash in [0-1], just do [01] which means
"match a 0 or a 1"
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100602/83113aba/attachment.html 


More information about the FreeSWITCH-users mailing list