[asterisk-users] Dailplan code for holiday detection?
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Mon Dec 29 16:02:08 CST 2008
On Monday 29 December 2008 02:06:09 pm Adam Moffett wrote:
> > This dialplan is illustrative of the particular problem of the MYSQL
> > command in that no cleanup is performed if the dialplan terminates
> > abnormally. If a device hangup occurs between the Connect and
> > Disconnect, or worse, between the Query and the Clear, then extra
> > resources will be consumed until a restart is performed. To avoid this
> > problem, you should ensure that you always clear your query resources and
> > disconnect your handles in the "h" extension.
> >
> > Or use func_odbc, which performs this sort of cleanup for you.
>
> Next question: When you say "extra resources will be consumed until a
> restart is performed." Do you mean I have to restart asterisk to free
> up said resources? Will a reload do it also?
Yes. No.
--
Tilghman
More information about the asterisk-users
mailing list