Re: [PATCH] SMSC cluster
Alejandro Guerrieri <[email protected]> Tue, 25 Jun 2019 18:26:56 -0400
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <CAG8-fB=8porr8Zxhp3WLyL4s68PMxFXBZRf0nCro65RM_f866A@mail.gmail.com> |
--000000000000cf430c058c2d6d18 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm curious why do you even need this patch? You could use the same smsc-id on both and assign different smsc-admin-id values to manage each bind separately (e.g. start/stop). If by any reason you'd want to send over a specific bind, you could use different allowed-smsc-id's as well. Regards, Alejandro On Tue, Jun 25, 2019 at 12:20 PM Lamasuta, Franck, Vodafone Automotive < [email protected]> wrote: > Hi list, > > > > We have implemented many patches along the way and I can finally take som= e > time to submit them. > They are running on our staging and production platforms since years for > the oldest ones. > > I will submit them one by one in the next days/weeks. > > Let=E2=80=99s start with the first one=E2=80=A6 J > > > > This patch allows Kannel to retrieve a pending DLRs in its database when = 2 > (or more) SMSC binds are established (with different IPs and/or ports). > > It is required when a MT-SMS is submitted to SMSC A and its DLR is sent > back by SMSC B. > > Done for CIMD2 and SMPP. > > > > Example of configuration where the patch is required: > > > > # > > # Primary server > > # > > group =3D smsc > > smsc =3D cimd2 > > smsc-id =3D SMSC-A > > host =3D 123.1.2.3 > > port =3D 6001 > > smsc-username =3D user > > smsc-password =3D xxxxxxxx > > allowed-smsc-id =3D id1 > > preferred-smsc-id =3D id1 > > > > # > > # Secondary server > > # > > group =3D smsc > > smsc =3D cimd2 > > smsc-id =3D SMSC-B > > host =3D 123.1.2.3 > > port =3D 6002 > > smsc-username =3D user > > smsc-password =3D xxxxxxxx > > allowed-smsc-id =3D id1 > > > > > > Regards, > > Franck > --000000000000cf430c058c2d6d18 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I'm curious why do you even need this patch? You could= use the same smsc-id on both and assign different smsc-admin-id values to = manage each bind separately (e.g. start/stop). If by any reason you'd w= ant to send over a specific bind, you could use different allowed-smsc-id&#= 39;s as well.<div><div><br></div><div>Regards,</div><div><br></div><div>Ale= jandro</div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla= ss=3D"gmail_attr">On Tue, Jun 25, 2019 at 12:20 PM Lamasuta, Franck, Vodafo= ne Automotive <<a href=3D"mailto:[email protected]">franck.la= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)= ;padding-left:1ex"> <div lang=3D"EN-US"> <div class=3D"gmail-m_5266741850085073230WordSection1"> <p class=3D"MsoNormal"><span lang=3D"FR">Hi list,<u></u><u></u></span></p> <p class=3D"MsoNormal"><span lang=3D"FR"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal">We have implemented many patches along the way and I= can finally take some time to submit them.<br> They are running on our staging and production platforms since years for th= e oldest ones.<u></u><u></u></p> <p class=3D"MsoNormal">I will submit them one by one in the next days/weeks= .<u></u><u></u></p> <p class=3D"MsoNormal">Let=E2=80=99s start with the first one=E2=80=A6=C2= =A0=C2=A0 <span style=3D"font-family:Wingdings"> J</span><u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">This patch allows Kannel to retrieve a pending DLRs = in its database when 2 (or more) SMSC binds are established (with different= IPs and/or ports).<u></u><u></u></p> <p class=3D"MsoNormal">It is required when a MT-SMS is submitted to SMSC A = and its DLR is sent back by SMSC B.<u></u><u></u></p> <p class=3D"MsoNormal">Done for CIMD2 and SMPP.<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">Example of configuration where the patch is required= :<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">#<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)"># Primary server<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">#<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">group =3D smsc<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">smsc =3D cimd2<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">smsc-id =3D SMSC-A<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">host =3D 123.1.2.3<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">port =3D 6001<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">smsc-username =3D user<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">smsc-password =3D xxxxxxxx<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">allowed-smsc-id =3D id1<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">preferred-smsc-id =3D id1<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">#<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)"># Secondary server<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">#<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">group =3D smsc<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">smsc =3D cimd2<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">smsc-id =3D SMSC-B<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">host =3D 123.1.2.3<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">port =3D 6002<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">smsc-username =3D user<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">smsc-password =3D xxxxxxxx<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:rgb(68,114,196)">allowed-smsc-id =3D id1<u></u><u></u></span></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">Regards,<u></u><u></u></p> <p class=3D"MsoNormal">Franck<u></u><u></u></p> </div> </div> </blockquote></div> --000000000000cf430c058c2d6d18--