[Freeswitch-users] condition weirdness

Avi Marcus Avi at aMarcus.com
Sun Dec 26 20:47:35 MSK 2010


You probably meant (1|51|758|597|868|598|58) rather than the [character
class].
So try <condition field="${sip_to_uri}"
expression="^((1|51|758|597|868|598|58)\d{10,15})@$${domain}$">
-Avi Marcus

On Sun, Dec 26, 2010 at 4:41 PM, Madovsky <infos at madovsky.org> wrote:

>  If i call the number 000123456789 at domain
>
> and in my dialplan I have something like
>
> ...
> <condition field="${sip_to_uri}"
> expression="^([1|51|758|597|868|598|58]\d{10,15})@$${domain}$">
> ...
>
> in the log I can see condition passed... I'm confused
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101226/c7211e9b/attachment.html 


More information about the FreeSWITCH-users mailing list