Teletronics Enterprise SIP Server User Manual
Page 19

TELETRONICS INTERNATIONAL, INC.
18
Enterprise SIP Server Tutorial – Dial Plan
s-tut-dp1.51-041228
3.7. Filtering based on the Destination SIP-URI
The destination SIP-URI can be found in the To: header field.
3.7.1.
If the destination SIP-URI is sip:user@domain, refuse the call
Matching Patterns
Deploy Patterns
$request=^INVITE
to=sip:user@domain
$action=603
3.7.2.
If the destination domain is “gw1”, route the call to “gw2”
Matching Patterns
Deploy Patterns
$request=^INVITE
to=sip:(.+)@gw1[ >;]*
to=sip:%1@gw2
3.7.3.
If the destination User Name is 1000, route the call to sip:ivr@domain
Matching Patterns
Deploy Patterns
$request=^INVITE
to=sip:1000@
to=sip:ivr@domain
3.7.4. If the destination User Name’s prefix is 650, the prefix is removed from the
User Name and the call is routed to the “domain”
Matching Patterns
Deploy Patterns
$request=^INVITE
to=sip:650(.+)@
to=sip:%1@domain