Please read below ...

On 19 October 2001, Matt Flax wrote:
> Hello all,
> 
> Thanks to nclarey for adding my retry patch to the CVS.
> I await the day I get CVS access !
> 
> OK - I need to implement a watchdog signal handler for kannel.
> Firstly I am assuming it doesn't exist ?
> 
> Now I am changing the static setup_signal_handlers function to add :
>     sigaction(SIGUSR1, &act, NULL);
> 
> And in the signal_handler function I add the following :
>   } else if (signum == SIGUSR1) {
> to handle the watchdo signal USR1.
> 
> I would like to be able to check wether bearerbox and a particular smsc_at
> module is alive or has hung ... can anyone suggest a good method to do
> that ?
> It might be possible to get away with just polling bearerbox ....

I have just found the function 'Octstr *bb_print_status(int status_type)'
I will assume for now that this may be used.

-- 
Matt

For electronic musicians ...
Vector Bass          : http://mffmvectorbass.sourceforge.net/
For developers ...
3D Audio Library     : http://mffm3daudiolib.sourceforge.net/
Multimedia Time Code : http://mffmtimecode.sourceforge.net/

Reply via email to