編譯freeswitchconsole時,並沒有編譯mod_sofia,所以就沒辦法加載mod_sofia.dll。freeswitchconsole跑起來就沒有監聽5060端口。
關於mod_safia 的介紹,看http://www.360doc.com/content/13/1213/15/12747488_336869727.shtml
生成: 項目: pthread,需要pthreads,下載
ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.tar.gz
解壓改名爲pthreads-w32-2-9-1後放在freeswitch.git\libs\
生成: 項目: libsofia_sip_ua_static需要gawk.exe
http://www.jb51.net/softs/515570.html#download
解壓後將gawk.exe放在freeswitch.git\libs\sofia-sip\win32\
重新編譯mod_sofia
我運行時,UA還是會報錯:Error Creating SIP UA for profile:
選擇freewitchconsole項目-->生成依賴項-->項目依賴項 把mod_sofia選上,重新運行freeswitchconsole
您的支持,是我持續創作的動力!!!!