Alex Sergeev Posted February 2, 2009 Report Share Posted February 2, 2009 Please, help me. Sorry for my english. Recently our company buyed PBXnSIP 3.0. I have problem with some patterns. For example, I need write pattern for range 9150000000-9154999999. I think that pattern (915[0-4]*) will right. But this rule send only first four digits on trunk. Help me to write pattern for this range 9150000000-9154999999. And when I may to read about pattern syntax? Thanks. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted February 2, 2009 Report Share Posted February 2, 2009 Recently our company buyed PBXnSIP 3.0. I have problem with some patterns. For example, I need write pattern for range 9150000000-9154999999. I think that pattern (915[0-4]*) will right. But this rule send only first four digits on trunk. Help me to write pattern for this range 9150000000-9154999999. And when I may to read about pattern syntax? Try (915[0-4][0-9]*)@.* - the match must also include the domain name... Quote Link to comment Share on other sites More sharing options...
Alex Sergeev Posted February 4, 2009 Author Report Share Posted February 4, 2009 Thank you! This pattern work. Where I can read about regular expressions, wich function in PBXnSIP? Quote Link to comment Share on other sites More sharing options...
pbx support Posted February 4, 2009 Report Share Posted February 4, 2009 Thank you!This pattern work. Where I can read about regular expressions, wich function in PBXnSIP? pbxnsip uses regular expressions in several places. One common place is dial plan. Information on regular expressions can be found at http://en.wikipedia.org/wiki/Regular_expression. Quote Link to comment Share on other sites More sharing options...
andrewgroup Posted February 12, 2009 Report Share Posted February 12, 2009 Where I can read about regular expressions, wich function in PBXnSIP? Revisit an old POST http://forum.pbxnsip.com/index.php?showtopic=644 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.