No, kannel won't lose your messages on a restart! The persistent storage
engine is not "optional" for messages (only DLR's are lost if you're using
the "in-memory" storage).

On Thu, Jun 18, 2009 at 3:38 PM, Manish Nema <[email protected]>wrote:

> ok ...  restarting whole server (http restart for bearerbox) will make all
> the pending message to be lost if I am not using temporary storage (storage
> file) it also looses smsbox connection ... what could be other issues
> besides smsconns down and start over ?
>
> On Thu, 18 Jun 2009 15:30:05 +0200 Alejandro Guerrieri wrote
> Possible? Of course!
> Easy? Not
> so. You're right about the place, but I think there might be other issues to 
> take care as well. Besides, taking all the smsconns down and start them again 
> it's not that different from restarting the whole server again...
>
> Regards,
> Alejandro
> On Thu, Jun 18, 2009 at 3:20 PM, Manish Nema wrote:
>
> 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 in
>
>
> smsc2_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 ?
>
>
> Thanks
> Manish Nema
> On 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
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline....@middle?>
>

Reply via email to