[SR-Users] dispatcher lb

Gokan Atmaca linux.gokan at gmail.com
Sat Jan 22 16:06:06 CET 2022


I have one more problem. I have two GSM phones. Simultaneous calls
from the GSM network also work properly.
However, only one of the GSM numbers appeared in the tests I made
repeatedly.  When I pick up the phone, my voice goes to both phones at
once.

How can I solve this problem?

On Sat, Jan 22, 2022 at 5:14 PM Gokan Atmaca <linux.gokan at gmail.com> wrote:
>
> > Maybe a SIP capture can help.
> Thanks, The problem also appeared on the ip phone. I fixed it. it is
> working now. :)
>
> On Fri, Jan 21, 2022 at 11:05 PM Social Boh <social at bohboh.info> wrote:
> >
> > 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