beautypg.com

Teletronics Enterprise SIP Server User Manual

Page 14

background image

TELETRONICS INTERNATIONAL, INC.

13

Enterprise SIP Server Tutorial – Dial Plan

s-tut-dp1.51-041228

3.3. Filtering based on whether the Callee is Registered in the register

database or not.

Whether the callee is registered or not can be found in the conditional variable $registered.

When a callee is registered

$registered=true

When a callee is not registered

$registered=false

3.3.1.

Registered callee’s calls will be routed through sip:ivr@domain

Matching Patterns

Deploy Patterns

$request=^INVITE
$registered=true

to=sip:ivr@domain

3.3.2.

To refuse calls to unregistered

Matching Patterns

Deploy Patterns

$request=^INVITE
$registered=false

$action=603

3.3.3. If the callee is registered and correspondingly the SIP-URI prefix is “1”, the

caller will hear a busy signal

Matching Patterns

Deploy Patterns

$registered=true
$request=^INVITE
to=sip:1.+

$action=686