| Server IP : 189.126.111.107 / Your IP : 216.73.217.69 Web Server : Apache System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 User : gadotticar ( 1000) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/freeswitch-1.10.12/scripts/ |
Upload File : |
#!/bin/sh email=traces@freeswitch.org errorlvl=1 while [ $errorlvl -gt 0 ] do /usr/local/freeswitch/bin/freeswitch -core errorlvl=$? if [ $errorlvl -gt 0 ]; then pid=$(cat /usr/local/freeswitch/run/freeswitch.pid) corefile=core.$pid tempfile=$(tempfile) if [ -f $corefile ]; then reset echo From: freeswitch@jasongarland.com >>$tempfile echo >>$tempfile echo >>$tempfile echo Host: $(hostname -f) >>$tempfile gdb /usr/local/freeswitch/bin/freeswitch -c $corefile \ --eval-command='set pagination off' \ --eval-command='bt full' \ --eval-command='quit' >>$tempfile cat $tempfile|rmail $email rm $tempfile fi fi #sleep 5s done