Common Routes and Patterns

From reSIProcate
Jump to: navigation, 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