Re: HTTP SMSC Question On Current Version
Willy Mularto <[email protected]> Wed, 5 Dec 2018 22:08:19 +0700
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <CAChGr4Gk_1gp7RPek0rL8fS_diMaV3w9WnoOO+t_QO9CwhUHDg@mail.gmail.com> |
--00000000000041e507057c47c15a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just tried to configure and got this error: config.status: error: cannot find input file: `Makefile.in' Thanks So Far Express VPN still the fastest https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&utm_campai= gn=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Dreferral_dashboard On Wed, Dec 5, 2018 at 5:51 PM <[email protected]> wrote: > Point #3 means add in the body custom_http.c right? > > > yes. > > Thanks, > Alex > > Am 05.12.2018 um 10:21 schrieb Willy Mularto <[email protected]>: > > Cool, will try that later. Previosly I always modify smsc_http.c to call > my custom http smsc. Point #3 means add in the body custom_http.c right? > > > So Far Express VPN still the fastest > > https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&utm_camp= aign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Dreferral_dashboard > > > On Wed, Dec 5, 2018 at 3:52 PM <[email protected]> wrote: > >> Hi Willi, >> >> there are plenty of examples how to do it, anyway here step by step >> (assume the name should be my_new_http): >> >> 1. create new file in gw/smsc/http/my_new_http.c >> 2. add this file to gw/Makefile.am section bearerbox_SOURCES >> 3. add struct smsc_http_fn_callbacks smsc_http_my_new_http_callback to >> your new file and implement >> callbacks >> >> That=E2=80=99s all. >> >> Kannel now load dynamically all http modules and take their name to load >> struct smsc_http_fn_callbacks , >> you don=E2=80=99t need to change code in smsc_http.c anymore. >> >> Thanks, >> Alex >> >> >> Am 05.12.2018 um 07:19 schrieb Willy Mularto <[email protected]>: >> >> Hi, >> I see there's huge differences on current smsc_http.c, previously we jus= t >> simply add custom http smsc in this file but now it's gone. Anybody know= s >> where to add custom http smsc? >> >> >> > > --00000000000041e507057c47c15a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Just tried to configure and got this error:<p class=3D"gma= il-p1" style=3D"margin:0px;font-variant-numeric:normal;font-variant-east-as= ian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-famil= y:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,= 0.9)"><span class=3D"gmail-s1" style=3D"font-variant-ligatures:no-common-li= gatures">config.status: error: cannot find input file: `Makefile.in'</s= pan></p><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"g= mail_signature"><div dir=3D"ltr"><br></div><div>Thanks</div><div dir=3D"ltr= ">So Far Express VPN still the fastest<div><a href=3D"https://www.expressre= fer.com/refer-friend?referrer_id=3D15939000&utm_campaign=3Dreferrals&am= p;utm_medium=3Dcopy_link&utm_source=3Dreferral_dashboard" target=3D"_bl= ank">https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&u= tm_campaign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Dreferra= l_dashboard</a><br></div></div></div></div><br></div><br><div class=3D"gmai= l_quote"><div dir=3D"ltr">On Wed, Dec 5, 2018 at 5:51 PM <<a href=3D"mai= lto:[email protected]">[email protected]</a>> wrote:<br></div><blockqu= ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s= olid;padding-left:1ex"><div style=3D"word-wrap:break-word;line-break:after-= white-space"><blockquote type=3D"cite"><div dir=3D"ltr">=C2=A0Point #3 mean= s add in the body custom_http.c right?</div></blockquote><div><br></div>yes= .<div><br></div><div>Thanks,</div><div>Alex<br><div><br><blockquote type=3D= "cite"><div>Am 05.12.2018 um 10:21 schrieb Willy Mularto <<a href=3D"mai= lto:[email protected]" target=3D"_blank">[email protected]</a>>:</di= v><br class=3D"m_3766869319419096020Apple-interchange-newline"><div><div di= r=3D"ltr" style=3D"font-family:Helvetica;font-size:12px;font-style:normal;f= ont-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align= :start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:= 0px;text-decoration:none">Cool, will try that later. Previosly I always mod= ify smsc_http.c to call my custom http smsc. Point #3 means add in the body= custom_http.c right?<div><br></div><div><br clear=3D"all"><div><div dir=3D= "ltr" class=3D"m_3766869319419096020gmail_signature" data-smartmail=3D"gmai= l_signature"><div dir=3D"ltr">So Far Express VPN still the fastest<div><a h= ref=3D"https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&= ;utm_campaign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Drefer= ral_dashboard" target=3D"_blank">https://www.expressrefer.com/refer-friend?= referrer_id=3D15939000&utm_campaign=3Dreferrals&utm_medium=3Dcopy_l= ink&utm_source=3Dreferral_dashboard</a><br></div></div></div></div><br>= </div></div><br style=3D"font-family:Helvetica;font-size:12px;font-style:no= rmal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text= -align:start;text-indent:0px;text-transform:none;white-space:normal;word-sp= acing:0px;text-decoration:none"><div class=3D"gmail_quote" style=3D"font-fa= mily:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;fo= nt-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;tex= t-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">= <div dir=3D"ltr">On Wed, Dec 5, 2018 at 3:52 PM <<a href=3D"mailto:amaly= [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-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);= padding-left:1ex"><div style=3D"word-wrap:break-word;line-break:after-white= -space">Hi Willi,<div><br></div><div>there are plenty of examples how to do= it, anyway here step by step (assume the name should be my_new_http):</div= ><div><br></div><div>1. create new file in gw/smsc/http/my_new_http.c</div>= <div>2. add this file to gw/Makefile.am section=C2=A0<span style=3D"color:r= gb(0,0,128);font-family:Monaco;font-size:11px">bearerbox_SOURCES</span><div= >3. add=C2=A0<span style=3D"font-family:Monaco;font-size:11px;color:rgb(127= ,0,85)">struct</span><span style=3D"font-family:Monaco;font-size:11px"><spa= n class=3D"m_3766869319419096020Apple-converted-space">=C2=A0</span></span>= <span style=3D"font-family:Monaco;font-size:11px;color:rgb(0,80,50)">smsc_h= ttp_fn_callbacks</span><span style=3D"font-family:Monaco;font-size:11px"><s= pan class=3D"m_3766869319419096020Apple-converted-space">=C2=A0</span>smsc_= http_</span>my_new_http<span style=3D"font-family:Monaco;font-size:11px">_c= allback to your new file and implement</span></div><div><span style=3D"font= -family:Monaco;font-size:11px">=C2=A0<span class=3D"m_3766869319419096020Ap= ple-converted-space">=C2=A0</span>callbacks</span></div><div><br></div><div= >That=E2=80=99s all.</div><div><br></div><div>Kannel now load dynamically a= ll http modules and take their name to load=C2=A0<span style=3D"font-family= :Monaco;font-size:11px;color:rgb(127,0,85)">struct</span><span style=3D"fon= t-family:Monaco;font-size:11px">=C2=A0</span><span style=3D"font-family:Mon= aco;font-size:11px;color:rgb(0,80,50)">smsc_http_fn_callbacks ,</span></div= ><div><font face=3D"Monaco"><span style=3D"font-size:11px">you don</span><s= pan style=3D"font-size:11px">=E2=80=99</span><span style=3D"font-size:11px"= >t need to change code in smsc_http.c anymore.</span></font></div><div><br>= </div><div>Thanks,</div><div>Alex</div><div><br></div><div><br><blockquote = type=3D"cite"><div>Am 05.12.2018 um 07:19 schrieb Willy Mularto <<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&g= t;:</div><br class=3D"m_3766869319419096020m_1611925939528176254Apple-inter= change-newline"><div><div dir=3D"ltr" style=3D"font-family:Helvetica;font-s= ize:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;lett= er-spacing:normal;text-align:start;text-indent:0px;text-transform:none;whit= e-space:normal;word-spacing:0px;text-decoration:none">Hi,<div><div dir=3D"l= tr" class=3D"m_3766869319419096020m_1611925939528176254gmail_signature" dat= a-smartmail=3D"gmail_signature"><div>I see there's huge differences on = current smsc_http.c, previously we just simply add custom http smsc in this= file but now it's gone. Anybody knows where to add custom http smsc?</= div></div></div></div></div></blockquote></div><br></div></div></blockquote= ></div><br class=3D"m_3766869319419096020Apple-interchange-newline"></div><= /blockquote></div><br></div></div></blockquote></div> --00000000000041e507057c47c15a--