Regex "local Extension" is not mached
Hi, does anybody know why a local extension is not matched by ="(^\d{3,6}$)">? All the extension are set to "default". It should generally work. Thank you for the help. Regards, I.
What's the entire <condtion> tag, and what number are you dialing? -Steve On 24 November 2010 00:45, Isti <pistike040@googlemail.com> wrote:
Hi,
does anybody know why a local extension is not matched by ="(^\d{3,6}$)">?
All the extension are set to "default". It should generally work…
Thank you for the help.
Regards,
I.
_______________________________________________ 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
Isti wrote:
does anybody know why a local extension is not matched by ="(^\d{3,6}$)">? That expression will have no problem to match any local extension from 000 -> 999999. Perhaps, the way to name the file such that FS won't get a chance to read it. In other words, the dialed numbers get picked by other XML dialplan. If your XML dialplan is name my_dialplan.xml, try to rename it to 00_my_dialplan.xml to see if it gets read by FS before other XML dialplans. Remember to revert the file name to a proper name or else you will cause FS not to be able to read other XML dialplan.
Also, as pointed out above, the debug log level 7 from the fs_cli will be able to tell the sequence the dialplan is processed/matched. ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Regex-local-Extension-is-not-m... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (3)
-
Isti
-
mazilo
-
Steven Ayre