beautypg.com

Teletronics Enterprise SIP Server User Manual

Page 34

background image

TELETRONICS INTERNATIONAL, INC.

33

Enterprise SIP Server Tutorial – Dial Plan

s-tut-dp1.51-041228

8.4. Changing the SIP-URI

Routing failure may occur if each local SIP-URI is exposed to external network when calls are
connected across different local network. You may need to hide the SIP-URI to avoid this and
for security reasons.

8.4.1.

If the callee’s Domain is “domain”, change the SIP-URI

Matching Patterns

Deploy Patterns

$request=^INVITE
to=sip:(.+)@domain1[ >;]*

$replaceurl=true
to=sip:%1@domain2

8.4.2.

If the callee’s SIP-URI is “sip:ivr@domain”, don’t change the SIP-URI

Matching Patterns

Deploy Patterns

$request=^INVITE
to=sip:ivr@domain[ >;]*

$replaceurl=false