Re: MO Routing on the fly
akamat sarat <[email protected]> Wed, 19 Apr 2023 19:32:45 +0300
| Newsgroups | gmane.comp.mobile.kannel.user |
|---|---|
| Message-ID | <CA+XCKAyWrj_PzwMOK3ymyqbO18rSzbhxHx5MgA5BYfM_PvFq3w@mail.gmail.com> |
--000000000000fcc3ac05f9b2f9d4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Even though I could not figure it out, the smsc-id parameter is not mandatory for the smsbox-route group. Does this imply it can be SMSC independent if some other configuration is properly applied? possibly. I've tested smsbox-route group without specifying any smsc-ids and this did not work. But I'm probably missing something. On Wed, Apr 19, 2023 at 7:28=E2=80=AFPM akamat sarat <[email protected]= m> wrote: > I figured out a way to set it up the way I need it to work. > So like I said, I wanted to route all MOs originating from all SMSCs to a > single script to handle all of them. > In my SMSc configuration I am using reroute-smsc-id to re-route all > incoming MOs to a single HTTP SMSc that will invoke my script. > The thing that kept me back is the preferred-smsc-id setting, because if > it is used in conjunction with reroute-smsc-id then reroute-smsc-id is > completely ignored without any mention of it in kannel logs. > > > > On Wed, Apr 19, 2023 at 7:12=E2=80=AFPM Tolga Ulas <tolga.ulas@tolgaulas.= com> > wrote: > >> Not sure on top of my head whether it can be smsc independent, check wit= h >> the documentation in the related section of thart smsc-id part and >> smsbox-route functioning in general. >> Tolga Ulas >> >> >> >> On Wed, Apr 19, 2023 at 5:51=E2=80=AFPM akamat sarat <akamat.sarat@gmail= .com> >> wrote: >> >>> Thank for coming back, you mean something like: >>> >>> group=3Dsmsbox-route >>> smsbox-id=3Dmysmsbox >>> smsc-id=3DSMSC1; SMSC2; SMSC3... >>> >>> If so, this means that every time a new SMSC is added, I will need to >>> add it to the smsc-id's list in the above configuration. >>> After that I will need to restart kannel which I do not want to do. >>> If thats not what you mean can you write an example? >>> >>> Thank you. >>> >>> >>> On Wed, Apr 19, 2023 at 5:39=E2=80=AFPM Tolga Ulas <tolga.ulas@tolgaula= s.com> >>> wrote: >>> >>>> Put a single route to a single smsbox which has a single service and >>>> define all your smscs in the route as origin. >>>> >>>> Tolga Ulas >>>> >>>> >>>> On Wed, Apr 19, 2023 at 5:22=E2=80=AFPM akamat sarat <akamat.sarat@gma= il.com> >>>> wrote: >>>> >>>>> To all kannelers, >>>>> >>>>> I am trying to find a way to configure kannel so that all incoming >>>>> messages (MOs) from all SMSCs to go to the same script. >>>>> The problem is that i could not find a working solution that does not >>>>> rely on smsbox-routes >>>>> and it is not possible to add smsbox-routes on the fly. >>>>> >>>>> Any help would be appreciated >>>>> >>>> --000000000000fcc3ac05f9b2f9d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Even though I could not figure it out, the smsc-id paramet= er is not mandatory for the smsbox-route group.<div>Does this imply it can = be SMSC independent if some other configuration is properly applied? possib= ly. I've tested smsbox-route group without specifying any smsc-ids and = this did not work.<br>But I'm probably missing something.</div></div><b= r><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, = Apr 19, 2023 at 7:28=E2=80=AFPM akamat sarat <<a href=3D"mailto:akamat.s= [email protected]">[email protected]</a>> wrote:<br></div><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol= id rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">I figured out a way = to set it up the way I need it to work.<br>So like I said, I wanted to rout= e all MOs originating from all SMSCs to a single script to=C2=A0handle all = of them.<br><div>In my SMSc configuration I am using reroute-smsc-id to re-= route all incoming MOs to a=C2=A0single HTTP SMSc that will invoke my scrip= t.<br>The thing that kept me back is the preferred-smsc-id setting, because= if it is used in conjunction=C2=A0with reroute-smsc-id then reroute-smsc-i= d is completely ignored without any mention of it in kannel logs.<br><br><b= r></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai= l_attr">On Wed, Apr 19, 2023 at 7:12=E2=80=AFPM Tolga Ulas <<a href=3D"m= ailto:[email protected]" target=3D"_blank">[email protected]<= /a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0= px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><= div dir=3D"ltr">Not sure on top of my head whether=C2=A0it can be smsc inde= pendent, check with the documentation in the related section of thart smsc-= id part and smsbox-route functioning in general.=C2=A0<br clear=3D"all"><di= v><div dir=3D"ltr"><div dir=3D"ltr">Tolga Ulas<div><br></div></div></div></= div><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai= l_attr">On Wed, Apr 19, 2023 at 5:51=E2=80=AFPM akamat sarat <<a href=3D= "mailto:[email protected]" target=3D"_blank">[email protected]</a= >> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di= v dir=3D"ltr"><div>Thank for coming back, you mean something like:</div><di= v><br></div><div>group=3Dsmsbox-route<br>smsbox-id=3Dmysmsbox<br>smsc-id=3D= SMSC1; SMSC2; SMSC3...<br><br>If so, this means that every time a new SMSC is added, I wi= ll need to add it to the smsc-id's list in the above configuration.<br>= After that I will need to restart kannel which I do not want to do.<br>If t= hats=C2=A0not what you mean can you write an example?<br><br>Thank you.<br>= <br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm= ail_attr">On Wed, Apr 19, 2023 at 5:39=E2=80=AFPM Tolga Ulas <<a href=3D= "mailto:[email protected]" target=3D"_blank">[email protected]= m</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"= ><div dir=3D"ltr"><div>Put a single route to a single smsbox which has a si= ngle service and define all your smscs in the route as origin.=C2=A0</div><= div><br></div><div><div><div dir=3D"ltr"><div dir=3D"ltr">Tolga Ulas<div><b= r></div></div></div></div></div></div><br><div class=3D"gmail_quote"><div d= ir=3D"ltr" class=3D"gmail_attr">On Wed, Apr 19, 2023 at 5:22=E2=80=AFPM aka= mat sarat <<a href=3D"mailto:[email protected]" target=3D"_blank">a= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_qu= ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20= 4);padding-left:1ex"><div dir=3D"ltr">To all kannelers,<br><br>I am trying = to find a way to configure kannel so that all incoming messages (MOs) from = all SMSCs to go to the same script.<br>The problem is that i could not find= a working solution that does not rely on smsbox-routes<br>and it is not po= ssible to add=C2=A0smsbox-routes=C2=A0=C2=A0=C2=A0on the fly.<br><br>Any he= lp would be appreciated=C2=A0</div> </blockquote></div> </blockquote></div> </blockquote></div> </blockquote></div> </blockquote></div> --000000000000fcc3ac05f9b2f9d4--