On 2011-04-06 16:48, Per von Zweigbergk wrote:
On 2011-04-06 16:09, Alvaro Cornejo wrote:
You can use the max-error-count parameter and reset-string parameters
in modem config in order to have kannel restart the modem
automatically after error-count errors. Check user guide for details.
I can't believe I didn't see this when checking through the User Guide
the last time I read it. This is exactly what I need.
Thank you very much. I will add this to my configuration when time
permits.
I've taken some time to check this particular parameter out in the User
Manual now, as quoting from the manual:
max-error-count; integer; Maximal error count for opening modem device
or initializing of the modem before reset-string will be executed.
This is useful when modem crashed and needs hard reset. Default disabled.
From what I can tell, this means that the reset-string will only be
used when there are ERROR:s while opening the modem device or
initializing the modem - and *not* while sending messages. I'm hoping
that the User Manual is wrong about this - otherwise the feature would
be kind of useless. Does anyone know for sure?