Teletronics Enterprise SIP Server User Manual
Page 20

TELETRONICS INTERNATIONAL, INC.
19
Enterprise SIP Server Tutorial – Dial Plan
s-tut-dp1.51-041228
3.8. Filtering based on the Caller’s User Agent (SIP Client)
The caller’s User Agent Name can be found in the User-Agent header field.
3.8.1.
If the caller’s User Agent Name is “SAMPLE”, refuse the call
Matching Patterns
Deploy Patterns
$request=^INVITE
user-agent=^SAMPLE$
$action=603
3.8.2. If the User Agent Name is “Gateway”, the maximum number of forwards
(maximum number of Server Hops) is set to 10
Matching Patterns
Deploy Patterns
$request=^INVITE
user-agent=^GATEWAY$
max-forwards=10
3.9. Filtering based on Request.
Request can be found in the $request conditional variable.
3.9.1.
When REGISTER request is received, return as an error
Matching Patterns
Deploy Patterns
$request=^REGISTER
$action=400
3.9.2.
Routing MESSAGE Request to sip:user@domain
Matching Patterns
Deploy Patterns
$request=^MESSAGE
to=sip:user@domain