Load balancing based on time – Teletronics Enterprise SIP Server User Manual
Page 27
Advertising

TELETRONICS INTERNATIONAL, INC.
26
Enterprise SIP Server Tutorial – Dial Plan
s-tut-dp1.51-041228
¸
If the caller’s SIP-URI User Name prefix is between 0 and 4, route the call to “gw1”. If the
prefix is between 5 and 9, route the call to “gw2”.
7.3. Load Balancing based on Time
7.3.1.
Load Balancing by switching 3 destinations every second
Matching Patterns
Deploy Patterns
$request=^INVITE
$time=^(..:..:.[0369])
$target=pbx1
$request=^INVITE
$time=^(..:..:.[147])
$target=pbx2
$request=^INVITE
$time=^(..:..:.[258])
$target=pbx3
7.3.2.
Load Balancing depending on whether the time is between 10 am and 6 pm or
another time slice
Matching Patterns
Deploy Patterns
$request=^INVITE
$time=^(1[0-7]:..:..)"
to=sip:ivr1@domain
$request=^INVITE
to=sip:ivr2@domain
Advertising