[SR-Users] dispatcher lb

Social Boh social at bohboh.info
Fri Jan 21 21:05:44 CET 2022


Maybe a SIP capture can help.

Regards

---
I'm SoCIaL, MayBe

El 21/01/2022 a las 3:01 p. m., Gokan Atmaca escribió:
> 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
> ⠈⠳⣄⠀⠀⠀⠀
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>    * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>    * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list