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=15939000&utm_campaign=referrals&utm_medium=copy_link&utm_source=referral_dashboard


On Wed, Dec 5, 2018 at 3:52 PM <amal...@kannel.org> 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’s all.
>
> Kannel now load dynamically all http modules and take their name to load
> struct smsc_http_fn_callbacks ,
> you don’t need to change code in smsc_http.c anymore.
>
> Thanks,
> Alex
>
>
> Am 05.12.2018 um 07:19 schrieb Willy Mularto <sangpr...@gmail.com>:
>
> 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?
>
>
>

Reply via email to