[asterisk-users] Dailplan code for holiday detection?
Philipp Kempgen
philipp.kempgen at amooma.de
Mon Dec 29 14:11:29 CST 2008
Adam Moffett schrieb:
> I'm making extensive use of the MYSQL command.....do you know if this
> behavior is considered a bug or not?
>
>>
>> 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.
http://lists.digium.com/pipermail/asterisk-users/2008-December/223847.html
Philipp Kempgen
--
http://www.das-asterisk-buch.de - http://www.the-asterisk-book.com
Amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
--
More information about the asterisk-users
mailing list