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@madovsky.org> wrote:
If i call the number 000123456789@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org