2015-08-31 52 views
0

我嘗試使用IMSDroid sip-stack以在我的android手機和支持sip的IP攝像頭之間撥打和接聽電話。無法使用IMSDroid撥打和接聽SIP電話

提供所需的選項,併成功登錄後,我試圖讓從相機的調用到手機,但沒有收到任何東西,而是接受了它的日誌中:

08-31 15:14:54.090: E/tinyWRAP(21323): ***ERROR: function: "tsdp_message_parse()" 
08-31 15:14:54.090: E/tinyWRAP(21323): file: "src/parsers/tsdp_parser_message.c" 
08-31 15:14:54.090: E/tinyWRAP(21323): line: "470" 
08-31 15:14:54.090: E/tinyWRAP(21323): MSG: Failed to parse SDP message. 
08-31 15:14:54.090: E/tinyWRAP(21323): ***ERROR: function: "tsip_dialog_invite_process_ro()" 
08-31 15:14:54.090: E/tinyWRAP(21323): file: "src/dialogs/tsip_dialog_invite.c" 
08-31 15:14:54.090: E/tinyWRAP(21323): line: "456" 
08-31 15:14:54.090: E/tinyWRAP(21323): MSG: Failed to parse remote sdp message: 
08-31 15:14:54.090: E/tinyWRAP(21323): [v=0 
08-31 15:14:54.090: E/tinyWRAP(21323): o=0 0 0 IN IP4 192.168.30.105 
08-31 15:14:54.090: E/tinyWRAP(21323): s=Dahua VT 1.5 
08-31 15:14:54.090: E/tinyWRAP(21323): c=IN IP4 192.168.30.105 
08-31 15:14:54.090: E/tinyWRAP(21323): t=0 0 
08-31 15:14:54.090: E/tinyWRAP(21323): m=audio 15000 RTP/AVP 0 
08-31 15:14:54.090: E/tinyWRAP(21323): a=rtpmap:0 PCMU/8000 
08-31 15:14:54.090: E/tinyWRAP(21323): 
08-31 15:14:54.090: E/tinyWRAP(21323): 
08-31 15:14:54.090: E/tinyWRAP(21323): ] 

然後,設法使從手機到相機的呼叫時,無限在撥號屏幕(呼出)地址仍然存在,並通過它使印刷在日誌中以下消息:

08-31 15:18:05.500: E/tinyWRAP(21323): ***ERROR: function: "tsip_header_Date_parse()" 
08-31 15:18:05.500: E/tinyWRAP(21323): file: "src/headers/tsip_header_Date.c" 
08-31 15:18:05.500: E/tinyWRAP(21323): line: "387" 
08-31 15:18:05.500: E/tinyWRAP(21323): MSG: Failed to parse 'Date' header. 

我無法弄清楚是什麼問題,並且供參考,這是我的配置選項: enter image description here enter image description here

回答

0

你有3個空行的消息結束:

08-31 15:14:54.090: E/tinyWRAP(21323): [v=0 
08-31 15:14:54.090: E/tinyWRAP(21323): o=0 0 0 IN IP4 192.168.30.105 
08-31 15:14:54.090: E/tinyWRAP(21323): s=Dahua VT 1.5 
08-31 15:14:54.090: E/tinyWRAP(21323): c=IN IP4 192.168.30.105 
08-31 15:14:54.090: E/tinyWRAP(21323): t=0 0 
08-31 15:14:54.090: E/tinyWRAP(21323): m=audio 15000 RTP/AVP 0 
08-31 15:14:54.090: E/tinyWRAP(21323): a=rtpmap:0 PCMU/8000 
08-31 15:14:54.090: E/tinyWRAP(21323): **HERE** 
08-31 15:14:54.090: E/tinyWRAP(21323): **HERE** 
08-31 15:14:54.090: E/tinyWRAP(21323): ] 

這可能是錯誤的原因... 您是否將IMSDroid sip-stack版本更新爲最新版本?