Teletronics Enterprise SIP Server User Manual
Page 18

TELETRONICS INTERNATIONAL, INC.
17
Enterprise SIP Server Tutorial – Dial Plan
s-tut-dp1.51-041228
3.6. Filtering based on the Caller’s SIP-URI
The caller’s SIP-URI can be found in the From
:
header field.
3.6.1.
If the caller’s SIP-URI is sip:user@domain, refuse the call
Matching Patterns
Deploy Patterns
$request=^INVITE
from=sip:user@domain
$action=603
3.6.2.
If the caller’s User Name is 1000, route the call to sip:iver@domain
Matching Patterns
Deploy Patterns
$request=^INVITE
from=sip:1000@
to=sip:ivr@domain
3.6.3.
If the caller’s Domain Name is gw.domain, the call will be treated as unauthorized
Matching Patterns
Deploy Patterns
$request=^INVITE
[email protected][ >;]*
$action=601
3.6.4.
If the caller’s User Name is not between 1000 – 2000 refuse the call
Matching Patterns
Deploy Patterns
$request=^INVITE
from=sip:[12]000@
to=sip:(.+)[ >;]*
to=sip:%1
$request=^INVITE
$action=603