Thanks Alejandro, All, I would like to know is it possible to modify code
and do that ..., during startup smsc connection are creating by reading
configuration insmsc2_start(cfg) smsc_groups = cfg_get_multi_group(cfg,
octstr_imm("smsc"));
gwlist_add_producer(smsc_list); for (i = 0; i <
gwlist_len(smsc_groups) &&
(grp = gwlist_get(smsc_groups, i)) != NULL; i++)
{ conn = smscconn_create(grp, 1);
if (conn ==
NULL)
panic(0, "Cannot start with SMSC connection
failing"); gwlist_append(smsc_list,
conn); }
gwlist_remove_producer(smsc_list);I am not sure if this is the thread safe.
What my idea was to give some funtion in HTTP admin interface to reload all the
smsc configuration first stop all the running smsc's and then read the
configuration and start each and every smsc listed in configuration file(s).
Would that be possible ?ThanksManish NemaOn Thu, 18 Jun 2009 10:48:48 +0200
Alejandro Guerrieri wrote Nope, configuration is loaded at startup, to modify
any settings you need to restart the daemons. Regards, Alejandro On Thu,
Jun 18, 2009 at 10:42 AM, Manish Nema wrote: Hi, I would like to
know is it possible to dynamically add/delete SMSC group configuration in
Kannel. If yes then how to do that? Thanks Manish Nema