[asterisk-users] Dailplan code for holiday detection?

Adam Moffett adam at plexicomm.net
Mon Dec 29 14:06:09 CST 2008


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