Hello
I'm load balancing with Dispatcher. The call comes in but hangs up
without picking up the phone. What could be the problem? The settings
are as follows.
dispatcher.list
1 sip:18.X.X.X.X:5060 0 0 maxload=20
1 sip:67.X.X.X.X:5060 0 0 maxload=20
# Dispatch requests
route[DISPATCH] {
# round robin dispatching on gateways group '1'
if(!ds_select_dst("1", "4"))
{
send_reply("404", "No destination");
exit;
}
xlog("L_DBG", "--- SCRIPT: going to <$ru> via
<$du>\n");
t_on_failure("RTF_DISPATCH");
route(RELAY);
exit;
}
{
NRSETS: 1
RECORDS: {
SET: {
ID: 1
TARGETS: {
DEST: {
URI: sip:X.X.X.X:5060
FLAGS: AP
PRIORITY: 0
ATTRS: {
BODY: maxload=20
DUID:
MAXLOAD: 20
WEIGHT: 0
RWEIGHT: 0
SOCKET:
}
LATENCY: {
AVG: 4.130000
STD: 0.398000
EST: 4.006000
MAX: 6
TIMEOUT: 0
}
}
DEST: {
URI: sip:X.X.X.X:5060
FLAGS: AP
PRIORITY: 0
ATTRS: {
BODY: maxload=20
DUID:
MAXLOAD: 20
WEIGHT: 0
RWEIGHT: 0
SOCKET:
}
LATENCY: {
AVG: 22.282000
STD: 2.345000
EST: 23.075000
MAX: 42
TIMEOUT: 0
}
}
}
}
}
}
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀
https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀