/usr/share/asterisk/conf/app_mysql.conf.sample is in asterisk 1:11.7.0~dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ; Configuration file for the MYSQL app addon
[general]
;
; Nullvalue governs how NULL values are returned from the database. In
; previous versions, the special NULL value was returned as the "NULL"
; string. We now provide an option for the behavior, configured globally.
; nullstring - the string "NULL"
; emptystring - the string ""
; null - unset the variable
;
; WARNING: setting nullvalue=null may have undesireable consequences, in
; particular if you use subroutines in AEL or the LOCAL() variable construct.
; You have been warned. Don't complain if you use that setting in combination
; with Gosub or AEL and get buggy behavior.
;
nullvalue = nullstring
; If set, autoclear will destroy allocated statement and connection resources
; when the channel ends. For most usage of the MYSQL app, this is what you
; want, but it's conceivable that somebody is sharing MYSQL connections across
; multiple channels, in which case, this should be set to 'no'. Defaults to
; 'no', as this was the original behavior.
autoclear=yes
|