-1

I see the freeswitch have socket mod and they have function:

save_history (mod_command)

Usage: fsctl save_history

Write out the command history in anticipation of executing a configuration that might crash FS. This is useful when debugging a new module or script to allow other developers to see what commands were executed before the crash.

But i dont know where the history save and after crash i should to to where for tracking the issued.

Please help.

miken32
  • 42,008
  • 16
  • 111
  • 154
QViet
  • 297
  • 5
  • 25

1 Answers1

1

I am not using freeswitch but asterisk. If that ( save_history ) point to the history of asterisk console then the original file is in home directory from user that uses the console. Its a dotfile (hidden). With name:

$ ls -la ~/.asterisk_history
-rw------- 1 asterisk asterisk 5041 Jul 20 19:23 .asterisk_history

Maybe that helps to find the saved file.

koyaanisqatsi
  • 2,585
  • 2
  • 8
  • 15