beautypg.com

Teletronics Enterprise SIP Server User Manual

Page 23

background image

TELETRONICS INTERNATIONAL, INC.

22

Enterprise SIP Server Tutorial – Dial Plan

s-tut-dp1.51-041228

$request=^MESSAGE

$action=400

5.2.2.

If a REGISTER request from the IP Address starts from “192.168” return the
code 401 (unauthorized)

Matching Patterns

Deploy Patterns

$request=^REGISTER
$addr=192\.168\.

$action=401

5.2.3.

If the callee’s Domain is “gw”, return the code 403 (forbidden)

Matching Patterns

Deploy Patterns

$request=^INVITE
to=@gw[ >;]*

$action=403

5.2.4.

If the time a request is received is between 12:00 pm and 1:59 pm, return
the code 404 (destination cannot be found)

Matching Patterns

Deploy Patterns

$request=^INVITE
$time=^1[23]:

$action=404