Re: HTTP SMSC Question On Current Version
[email protected] Wed, 5 Dec 2018 16:12:30 +0100
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_0F0F7B1E-8ABA-4654-A1B3-B12AB48D7E44 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 ./boostrap ./configure =E2=80=A6 make=20 > Am 05.12.2018 um 16:08 schrieb Willy Mularto <[email protected]>: >=20 > Just tried to configure and got this error: > config.status: error: cannot find input file: `Makefile.in = <http://makefile.in/>' >=20 > Thanks > So Far Express VPN still the fastest > = https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&utm_campa= ign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Dreferral_dashboard = <https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&utm_camp= aign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Dreferral_dashboard> >=20 >=20 > On Wed, Dec 5, 2018 at 5:51 PM <[email protected] = <mailto:[email protected]>> wrote: >> Point #3 means add in the body custom_http.c right? >=20 > yes. >=20 > Thanks, > Alex >=20 >> Am 05.12.2018 um 10:21 schrieb Willy Mularto <[email protected] = <mailto:[email protected]>>: >>=20 >> 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? >>=20 >>=20 >> So Far Express VPN still the fastest >> = https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&utm_campa= ign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Dreferral_dashboard = <https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&utm_camp= aign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Dreferral_dashboard> >>=20 >>=20 >> On Wed, Dec 5, 2018 at 3:52 PM <[email protected] = <mailto:[email protected]>> wrote: >> Hi Willi, >>=20 >> there are plenty of examples how to do it, anyway here step by step = (assume the name should be my_new_http): >>=20 >> 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 >>=20 >> That=E2=80=99s all. >>=20 >> 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. >>=20 >> Thanks, >> Alex >>=20 >>=20 >>> Am 05.12.2018 um 07:19 schrieb Willy Mularto <[email protected] = <mailto:[email protected]>>: >>>=20 >>> Hi, >>> 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? >>=20 >>=20 >=20 >=20 --Apple-Mail=_0F0F7B1E-8ABA-4654-A1B3-B12AB48D7E44 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D"">./boostrap<div class=3D"">./configure =E2=80=A6</div><div = class=3D"">make </div><div class=3D""><br class=3D""><div><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">Am = 05.12.2018 um 16:08 schrieb Willy Mularto <<a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>>:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: = normal; letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;" class=3D"">Just = tried to configure and got this error:<div style=3D"margin: 0px; = font-variant-numeric: normal; font-variant-east-asian: normal; = font-stretch: normal; font-size: 12px; line-height: normal; font-family: = "Andale Mono"; color: rgb(47, 255, 18); background-color: = rgba(0, 0, 0, 0.901961);" class=3D""><span class=3D"gmail-s1" = style=3D"font-variant-ligatures: no-common-ligatures;">config.status: = error: cannot find input file: `<a href=3D"http://makefile.in/" = class=3D"">Makefile.in</a>'</span></div><div class=3D""><div dir=3D"ltr" = class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div = dir=3D"ltr" class=3D""><br class=3D""></div><div = class=3D"">Thanks</div><div dir=3D"ltr" class=3D"">So Far Express VPN = still the fastest<div class=3D""><a = href=3D"https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&a= mp;utm_campaign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Dre= ferral_dashboard" target=3D"_blank" = class=3D"">https://www.expressrefer.com/refer-friend?referrer_id=3D1593900= 0&utm_campaign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3D= referral_dashboard</a><br class=3D""></div></div></div></div><br = class=3D""></div><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><div class=3D"gmail_quote" style=3D"caret-color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant-caps: normal; font-weight: normal; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;"><div dir=3D"ltr" class=3D"">On Wed, Dec 5, 2018 = at 5:51 PM <<a href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:<br = class=3D""></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;" = class=3D""><blockquote type=3D"cite" class=3D""><div dir=3D"ltr" = class=3D""> Point #3 means add in the body custom_http.c = right?</div></blockquote><div class=3D""><br class=3D""></div>yes.<div = class=3D""><br class=3D""></div><div class=3D"">Thanks,</div><div = class=3D"">Alex<br class=3D""><div class=3D""><br class=3D""><blockquote = type=3D"cite" class=3D""><div class=3D"">Am 05.12.2018 um 10:21 schrieb = Willy Mularto <<a href=3D"mailto:[email protected]" target=3D"_blank"= class=3D"">[email protected]</a>>:</div><br = class=3D"m_3766869319419096020Apple-interchange-newline"><div = class=3D""><div dir=3D"ltr" style=3D"font-family: Helvetica; font-size: = 12px; font-style: normal; font-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;" class=3D"">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?<div class=3D""><br = class=3D""></div><div class=3D""><br clear=3D"all" class=3D""><div = class=3D""><div dir=3D"ltr" class=3D"m_3766869319419096020gmail_signature"= data-smartmail=3D"gmail_signature"><div dir=3D"ltr" class=3D"">So Far = Express VPN still the fastest<div class=3D""><a = href=3D"https://www.expressrefer.com/refer-friend?referrer_id=3D15939000&a= mp;utm_campaign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3Dre= ferral_dashboard" target=3D"_blank" = class=3D"">https://www.expressrefer.com/refer-friend?referrer_id=3D1593900= 0&utm_campaign=3Dreferrals&utm_medium=3Dcopy_link&utm_source=3D= referral_dashboard</a><br class=3D""></div></div></div></div><br = class=3D""></div></div><br style=3D"font-family: Helvetica; font-size: = 12px; font-style: normal; font-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;" class=3D""><div class=3D"gmail_quote" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-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;"><div dir=3D"ltr" = class=3D"">On Wed, Dec 5, 2018 at 3:52 PM <<a = href=3D"mailto:[email protected]" target=3D"_blank" = class=3D"">[email protected]</a>> wrote:<br = class=3D""></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;" = class=3D"">Hi Willi,<div class=3D""><br class=3D""></div><div = class=3D"">there are plenty of examples how to do it, anyway here step = by step (assume the name should be my_new_http):</div><div class=3D""><br = class=3D""></div><div class=3D"">1. create new file in = gw/smsc/http/my_new_http.c</div><div class=3D"">2. add this file to = gw/Makefile.am section <span style=3D"color: rgb(0, 0, 128); = font-family: Monaco; font-size: 11px;" = class=3D"">bearerbox_SOURCES</span><div class=3D"">3. add <span = style=3D"font-family: Monaco; font-size: 11px; color: rgb(127, 0, 85);" = class=3D"">struct</span><span style=3D"font-family: Monaco; font-size: = 11px;" class=3D""><span = class=3D"m_3766869319419096020Apple-converted-space"> </span></span><= span style=3D"font-family: Monaco; font-size: 11px; color: rgb(0, 80, = 50);" class=3D"">smsc_http_fn_callbacks</span><span style=3D"font-family: = Monaco; font-size: 11px;" class=3D""><span = class=3D"m_3766869319419096020Apple-converted-space"> </span>smsc_htt= p_</span>my_new_http<span style=3D"font-family: Monaco; font-size: = 11px;" class=3D"">_callback to your new file and = implement</span></div><div class=3D""><span style=3D"font-family: = Monaco; font-size: 11px;" class=3D""> <span = class=3D"m_3766869319419096020Apple-converted-space"> </span>callback= s</span></div><div class=3D""><br class=3D""></div><div = class=3D"">That=E2=80=99s all.</div><div class=3D""><br = class=3D""></div><div class=3D"">Kannel now load dynamically all http = modules and take their name to load <span style=3D"font-family: = Monaco; font-size: 11px; color: rgb(127, 0, 85);" = class=3D"">struct</span><span style=3D"font-family: Monaco; font-size: = 11px;" class=3D""> </span><span style=3D"font-family: Monaco; = font-size: 11px; color: rgb(0, 80, 50);" class=3D"">smsc_http_fn_callbacks= ,</span></div><div class=3D""><font face=3D"Monaco" class=3D""><span = style=3D"font-size: 11px;" class=3D"">you don</span><span = style=3D"font-size: 11px;" class=3D"">=E2=80=99</span><span = style=3D"font-size: 11px;" class=3D"">t need to change code in = smsc_http.c anymore.</span></font></div><div class=3D""><br = class=3D""></div><div class=3D"">Thanks,</div><div = class=3D"">Alex</div><div class=3D""><br class=3D""></div><div = class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">Am 05.12.2018 um 07:19 schrieb Willy Mularto <<a = href=3D"mailto:[email protected]" target=3D"_blank" = class=3D"">[email protected]</a>>:</div><br = class=3D"m_3766869319419096020m_1611925939528176254Apple-interchange-newli= ne"><div class=3D""><div dir=3D"ltr" style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-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;" class=3D"">Hi,<div = class=3D""><div dir=3D"ltr" = class=3D"m_3766869319419096020m_1611925939528176254gmail_signature" = data-smartmail=3D"gmail_signature"><div class=3D"">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 = class=3D""></div></div></blockquote></div><br = class=3D"m_3766869319419096020Apple-interchange-newline"></div></blockquot= e></div><br class=3D""></div></div></blockquote></div><br = class=3D"Apple-interchange-newline"><style = class=3D"">ul[class*=3D'mb-extra__public-links'], = ul[class*=3D'mb-note__public-links'], ul[class*=3D'mb-task__public-links']= { display: none !important; }</style></div></blockquote></div><br = class=3D""></div></body></html>= --Apple-Mail=_0F0F7B1E-8ABA-4654-A1B3-B12AB48D7E44--