[asterisk-users] Dailplan code for holiday detection?

Adam Moffett adam at plexicomm.net
Mon Dec 29 13:51:49 CST 2008


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.
>
>   




More information about the asterisk-users mailing list