Rule definitions for dial plan – Teletronics Enterprise SIP Server User Manual
Page 8

TELETRONICS INTERNATIONAL, INC.
7
Enterprise SIP Server Tutorial – Dial Plan
s-tut-dp1.51-041228
2. Rule Definitions for Dial Plan
2.1. Matching Patterns
In Matching Patterns, you can set conditions for call session control settings. The “header field
names” and the “condition variable names” below can be used here.
Condition Variable
Name
Definition
$addr
Caller’s IP Address.
ex_ $addr=192\.168\.1\.100
$date
Date on which the call request was received.
ex_ $date=2003/12/01
$localhost
Whether the call is from localhost (Enterprise SIP Server) or not.
ex_ $localhost=true
$outbound
Whether the callee is outside of the local network where the
Enterprise SIP Server resides.
ex_ $outbound=false
$port
Caller’s port number.
ex: $port=5060
$registered
Whether the callee is registered or not.
ex_ $registered=false
$request
Request
ex_
$request=INVITE sip:[email protected]:5060
SIP/2.0
$sid
Session ID (Session ID number used for internal maintenance)
ex_ $sid=23
$time
Time at which the call request was received.
ex_ $time=15:02:30