Fix FREEPBX-7997

Systems with /var and /tmp on different partitions cause problems. Use Asterisk's temporary directory instead.
I fixed the typo rather than removing the arguments; I find being more verbose is usually better than less, all else being equal.