
TIONAL, INC.
25 Enterprise SIP Server Tutorial – Dial Plan
s-tut-dp1.51-041228
7. Load Balancing
With Enterprise SIP Server, Load Balancing is possible through various methods.
7.1. Load Balancing based on the Caller’s IP Address
7.1.1. Load Balancing based on the last digit of the caller’s IP Address
$request=^INVITE
$addr=[0-4]$
to=sip:(.+)@
$request=^INVITE
$addr=[5-9]$
to=sip:(.+)@
¸ If the last (rightmost) digit of the caller’s IP Address is between 0 and 4, the call will be
routed to “gw1”. If the last (rightmost) digit is between 5 and 9, the call will be routed to
“gw2”.
7.2. Load Balancing based on the Caller’s SIP-URI
7.2.1. Load Balancing based on the caller’s Domain Name
$request=^INVITE
from=sip:(.+)@domain1
$request=^INVITE
from=sip:(.+)@domain2
¸ If the caller’s SIP-URI Domain Name is “domain 1”, the call is routed to “gw1”. If the
Domain Name is “domain 2”, the call is routed to “gw2”.
7.2.2. Load Balancing based on the caller’s User Name
$request=^INVITE
from=sip:[0-4].+@
$request=^INVITE
from=sip:[5-9].+@
Comentarios a estos manuales