[Freeswitch-users] condition weirdness
Madovsky
infos at madovsky.org
Sun Dec 26 22:02:18 MSK 2010
oops, ok thanks
----- Original Message -----
From: Avi Marcus
To: FreeSWITCH Users Help
Sent: Sunday, December 26, 2010 12:47 PM
Subject: Re: [Freeswitch-users] condition weirdness
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
------------------------------------------------------------------------------
_______________________________________________
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/3d184e6e/attachment.html
More information about the FreeSWITCH-users
mailing list