1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-03 01:13:30 +00:00

declinatio mortuus obfirmo!

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12277 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-02-25 16:37:00 +00:00
parent 2bbc3c8e7e
commit 5fcbbca37f
2 changed files with 5 additions and 6 deletions
scripts
src/mod/applications/mod_commands

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
fspid=$(cat /usr/local/freeswitch/log/freeswitch.pid) fspid=$(cat /opt/freeswitch/log/freeswitch.pid)
gcore -o /usr/local/freeswitch/log/freeswitch.gcore $fspid && \ gcore -o /opt/freeswitch/log/freeswitch.gcore $fspid && \
gdb /usr/local/freeswitch/bin/freeswitch \ gdb /opt/freeswitch/bin/freeswitch \
-c /usr/local/freeswitch/log/freeswitch.gcore.$fspid \ -c /opt/freeswitch/log/freeswitch.gcore.$fspid \
--eval-command='set pagination off' \ --eval-command='set pagination off' \
--eval-command='bt' \ --eval-command='bt' \
--eval-command='bt full' \ --eval-command='bt full' \
--eval-command='thread apply all bt' \ --eval-command='thread apply all bt' \
--eval-command='thread apply all bt full' \ --eval-command='thread apply all bt full' \
--eval-command='quit' --eval-command='quit'
#rm /usr/local/freeswitch/log/freeswitch.gcore.$fspid #rm /opt/freeswitch/log/freeswitch.gcore.$fspid

@ -459,7 +459,6 @@ static switch_status_t _find_user(const char *cmd, switch_core_session_t *sessio
end: end:
if (session || tf) { if (session || tf) {
stream->write_function(stream, err ? "false" : "true"); stream->write_function(stream, err ? "false" : "true");
switch_xml_free(xml);
} else { } else {
if (err) { if (err) {
if (host) { if (host) {