alias callpaste='fs_cli -x "fsctl send_sighup" \ && read -p "Make call, then hit after call complete..." \ && fs_cli -x "fsctl send_sighup" \ && printf "#############################################\n\n\n\n\n" \ && curl -d private=1 --data-urlencode text@`find /var/log/freeswitch -name freeswitch.log.1 2>/dev/null || find /usr/local/freeswitch/log -name freeswitch.log.1` https://pastebin.freeswitch.org/api/create \ && printf "\n\n\n\n#############################################\n\n"' alias bugon='fs_cli -x "console loglevel debug" \ && fs_cli -x "sofia global siptrace on" \ && fs_cli -x "sofia tracelevel alert" \ && fs_cli -x "sofia loglevel all 9" \ && fs_cli -x "fsctl loglevel debug" \ && fs_cli -x "fsctl debug_level 0"' alias bugoff='fs_cli -x "console loglevel debug" \ && fs_cli -x "sofia global siptrace off" \ && fs_cli -x "sofia tracelevel console" \ && fs_cli -x "sofia loglevel all 0" \ && fs_cli -x "fsctl loglevel debug" \ && fs_cli -x "fsctl debug_level 0"'