我尝试使用IMSDroid sip-stack 来在我的 android 手机和支持 sip 的 IP 相机之间拨打和接听电话。
提供所需选项并成功登录后,我尝试从相机拨打电话,但没有收到任何内容,而是在日志中收到以下内容:
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.