freeswitch調試開關

在windows下:

打開一個cmd窗口,找到freeswitch.exe的目錄,然後先運行下面的命令:

set SOFIA_DEBUG=9

set NUA_DEBUG=9

set SOA_DEBUG=9

set NEA_DEBUG=9

set IPTSEC_DEBUG=9

set NTA_DEBUG=9

set TPORT_DEBUG=9

set TPORT_LOG=1

set TPORT_DUMP=tport_sip.log

set SU_DEBUG=9

 

然後運行freeswitch.exe即可,用一個軟終端如wxCommunicator註冊,控制檯console會打印協議消息,並在tport_sip.log文件保存記錄。

unix/linux下:

設置一下環境變量:

export SOFIA_DEBUG=9

export NUA_DEBUG=9

export NTA_DEBUG=9

export TPORT_DEBUG=9

export TPORT_LOG=1


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章