Common Routes and Patterns

From reSIProcate
Revision as of 20:26, 17 February 2006 by Dpetrie (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page documents a number of commonly used static routes and regular expressions which are useful for setting up static routes in rePro.

  • Remove North American 91 Prefix

Enter the following fields on the ROUTES -> ADD ROUTES page:

 URI:^sip:91([0-9]{10})@example.com
 Destination:sip:$1@example.com

For example this pattern will cause the following route transformation:

 Incoming Request URI:sip:912223334444@example.com
 Resulting Target:sip:2223334444@example.com