将文件从办公室通信器传输到UCMA机器人 [英] Transferring a file from office communicator to a UCMA bot

查看:84
本文介绍了将文件从办公室通信器传输到UCMA机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用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协议(办公室通信器基于我的想法?)

无论哪种方式,请告诉我。
谢谢,
瑞恩

解决方案

加密:R字段表示它是一个安全的FTp,因此必须使用MSN_Secure_FTP,因此当你在你的情况下发送数据时


 ** SENT * * 
邀请 - 命令:ACCEPT
IP地址:127.0.0.1
端口:6891
AuthCookie:Windows.2003
Sender-Connect:TRUE
Launch-Application:FALSE
Invitation-Command:ACCEPT
Invitation-Cookie:369084722
Request-Data:IP-Address:


 


您还需要包含2个字段Encryption-Key和Hash-Key。我建议你继续进行未加密的文件传输。 


 


您必须在运行通信器的计算机上进行注册表更改,进行以下更改:


 


 

转到命令
提示符,键入"regedit"。

转到以下
路径:

HKEY_CURRENT_USER \Software \POLicies\Microsoft \ Commu nicator

创建一个值为"AllowUnencryptedFileTransfer"且值为"1"的新DWORD
值。 / p>

然后尝试你之前尝试的内容。如果有效,请告诉我。


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

解决方案

The Encryption: R field indicates its a secure FTp, hence MSN_Secure_FTP will have to be used, hence when you send the data in your case 

** 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:


you will also need to include 2 fields The Encryption-Key and Hash-Key. I suggest you to go ahead with an Un-encrypted file transfer. 


You have to make registry changes in the machine where the communicator is running, make the following changes:


Go to command prompt, type "regedit".

Go to the following path:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Communicator

Create a new DWORD value with value name "AllowUnencryptedFileTransfer" and value as "1".

 

 

Then try what you were trying previously. Let me know if that worked.


这篇关于将文件从办公室通信器传输到UCMA机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆