[Freeswitch-users] Regex

mazilo Nabble at slickdeals.endjunk.com
Thu Nov 25 08:35:36 PST 2010



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-mached-tp5773196p5774894.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



More information about the FreeSWITCH-users mailing list