问题描述
我使用UCMA创建了一个机器人,并尝试从办公室通信器传输文件。以下是发送和接收的SIP消息的类似内容:
- 收到初始SIP文件传输请求,
- 发送SIP接受消息,其中包含IP地址和端口 - 机器人已设置为接收文件。
- 然后收到取消消息
* * RECEIVED **
申请名称:文件传输
申请-GUID:{5D3E02AB-6190-11d3-BBBB-00C04F795683}
邀请 - 命令:邀请
邀请 - Cookie: 369084722
申请文件:Book1.xlsx
Application-FileSize:8954
连接性:N
加密:R
** SENT **
邀请 - 命令:接受
IP地址:127.0.0.1
端口:6891
AuthCookie:Windows.2003
Sender-Connect:TRUE
启动 - 申请:FALSE
邀请 - 命令:接受
邀请 - Cookie:369084722
请求数据:IP地址:
**收到**
邀请 - 命令:取消
邀请 - Cookie:369084722
取消代码:FAIL
请让我知道是否有任何方法可以使用UCMA实现文件传输。 OCS使用的SIP消息是否记录在何处?我无法找到与办公室通信器进行SIP通信的任何资源。这是基于MSN Messenger协议(办公室通信器基于我的想法?)
无论哪种方式,请告诉我。
谢谢,
瑞恩
I have created a bot using UCMA and am attempting to transfer a file to it from office communicator. Here is what the SIP messages sent and received look like:
- The initial SIP file transfer request is received,
- A SIP accept message is sent containing an IP address and port - which the bot has set up to receive the file.
- CANCEL message is then received
** RECEIVED ** Application-Name: File Transfer Application-GUID: {5D3E02AB-6190-11d3-BBBB-00C04F795683} Invitation-Command: INVITE Invitation-Cookie: 369084722 Application-File: Book1.xlsx Application-FileSize: 8954 Connectivity: N Encryption: R ** SENT ** Invitation-Command: ACCEPT IP-Address: 127.0.0.1 Port: 6891 AuthCookie: Windows.2003 Sender-Connect: TRUE Launch-Application: FALSE Invitation-Command: ACCEPT Invitation-Cookie: 369084722 Request-Data: IP-Address: ** RECEIVED ** Invitation-Command: CANCEL Invitation-Cookie: 369084722 Cancel-Code: FAIL
Please let me know if there is any way to achieve file transfer using UCMA. Are the SIP messages used by OCS documented anywhere? i have not been able to find any resources regarding SIP communication with office communicator. This is based on the MSN Messenger protocol (on which office communicator is based i thought?)
Either way please let me know.
Thanks,
Ryan
这篇关于将文件从办公室通信器传输到UCMA机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!