Fix FREEPBX-7997

Systems with /var and /tmp on different partitions cause problems. Use Asterisk's temporary directory instead.
see previous note.