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 <[email protected]>:
> 
> 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