MSDN Forums: Agents -
We are embedding an agent into a website using the line:
But all we get as answer is:
Multi user conversations are not allowed for this agent.
¿Is it necessary enabling multi-user conversation to embed the agent into a website?
MSDN Forums: Agents -
Hello,
Is it possible to make web service or general HTTP requests (POST/GET) via HTTPS (SSL)? If so, please provide some insight into how this is done.
Thanks!
MSDN Forums: Agents -
Hi All,
i am not able to test my agent for instance message invoirment with managment cansole. while i am try to start my agent with "monitoring and control" option in management cansole then in service window its showing fully availabilty service for " WEB:KnowledgeEditor-port:8053" and " WEB:AutomatedAgent-port:8054" but it's showing no Availability for 'MSN:testgemini@live.com ".
Please provide me some valuable help for testing my agent on IM enviorment.
Thanks
MSDN Forums: Messenger -
Anybody know how to sort this, it always has shown up and suddenly it just wont work, i have the 'Show what im listening to checked'
Any suggestions?
PLEASE MOVE: Windows Live Messenger 2009 beta. Regression 2: emoticons
PLEASE MOVE: Windows Live Messenger 2009 Beta. Regression 3: selecting parts of a personal message
MSDN Forums: Messenger -
Hi all,
I have just installed
the beta for Windows Live Messenger 2009 and it seems among the new features,
that some things have been altered. I am unable to see the Add-ins tab in
the settings dialog, even with the registry key enabled.
I would assume that
either A. The add-ins registry key has been moved/relocated or B. The add-in
system has been discarded completely.
If someone knows
anything that may solve my problem, it would be greatly appreciated if you
could solve this.
Thanks
Jake
MSDN Forums: Agents -
Hi guys,
In SDK 4.3 I did the following (below), but I would like to know how to do this in SDK 5.0
Thanks
GENERAL.DDL
package lib:/English/Core/DateTime
package lib:/Shared/Utilities/WLMUtilities
package Activity
package ../datasource.pkg
procedure guruWebsite()
call ResetIgnoredInvitationAttempts()
call MSNSLPSendInvitationToOpenMainP4Application()
ACTIVITY.PKG
package lib:/Shared/Utilities/WLMActivityUtilities
package lib:/Utilities/Objects
#############################
### ACTIVITY SUPPORT ###
#############################
variable G_NEXT_URL_TO_PUSH = ""
procedure PageDrive_Unsafe(URL) // only call when we think user's P4 is opened
if URL==""
exit
// If the window is opened, but the session was dehydrated by the msm, we need to rehydrate prior to the page drive
call MSNSLPRehydrateSLPSessionIfNeeded()
REQUEST = ""
if MSNSLPDebug()
REQUEST = StringConcat(REQUEST, "debug=", 1, "\n")
REQUEST = StringConcat(REQUEST, "url=", URL) // FRH: sending url last so that it overrides unrecognized params before
call MSNSLPSendData(REQUEST)
procedure PageDrive(URL)
G_NEXT_URL_TO_PUSH = URL
if SYS.User.Service != "MSN"
- Page driving to URL
if MSNSLPP4ApplicationIsAvailable()
call MSNSLPDebugDisplay("User has P4 window opened, page driving to " URL)
call PageDrive_Unsafe(URL)
else
call MSNSLPDebugDisplay("User does not have P4 window opened. Inviting him/her to open it.")
call TryToGetUserToOpenP4Window()
ACTIVITY.DDL
MACRO_KNOWLEDGEINCLUDES
package Activity
//procedure overrides MSNSLPSendInvitationToOpenMainP4Application()
// call MSNSLPSendInvitationToOpenP4Application(99995785, "Soulmate Search")
#############################
### ACTIVITY SETTINGS ###
#############################
function overrides MSNSLPGetAgentMainP4ApplicationName()
return "Love Guru Website"
function overrides MSNSLPGetAgentMainP4ApplicationId()
return "99995784" // (default app id for tests is usually 7, check the msgrp2p.xml file)
//99995143 // default
//99995784 // 1st AppID from Rach Ediss
### What we say when the user accepts our invitation
procedure overrides MSNSLPUserAcceptedInvitationToOpenP4Window(SESSION_ID)
call inherited MSNSLPUserAcceptedInvitationToOpenP4Window(SESSION_ID)
- 'welcome my disciple! \c
//- Thanks for accepting this invitation! \c
nop
### What we say when the user rejects our invitation
procedure overrides MSNSLPUserRejectedInvitationToOpenP4Window()
call inherited MSNSLPUserRejectedInvitationToOpenP4Window()
- ok my child, check out this site "www.lovegurumovie.com/intl/uk/"
### What we say when the user invited us to open an application, and we accept it.
//procedure overrides MSNSLPAgentAcceptsInvitationToOpenAP4Application(SESSION_ID, CALL_ID, APP_ID, APP_NAME)
//call inherited MSNSLPAgentAcceptsInvitationToOpenAP4Application(SESSION_ID, CALL_ID, APP_ID, APP_NAME)
//call MSNSLPSendData("READY")
//- Thanks for inviting me!
### What we say when the user invited us to open an application, and we reject it.
//procedure overrides MSNSLPAgentRejectsInvitationToOpenAP4Application(APP_ID, APP_NAME)
//- Unfortunately I am not allowed to open APP_NAME... Maybe another time?
### What we do when we detect the application is done loading on the user side
procedure overrides MSNSLPUserOpenedP4Window()
call inherited MSNSLPUserOpenedP4Window()
// When we detect the user opened the Activity window, we immediately page drive to the proper URL
if G_NEXT_URL_TO_PUSH != ""
call PageDrive_Unsafe(G_NEXT_URL_TO_PUSH)
### Handling of data events coming from the activity. ACTIVITY => AGENT
### NB: This activity sends very little information back to the agent, but you can look at how the "READY"
### message is sent for an example of how to communicate.
procedure overrides MSNSLPHandleDataEvent(EVENT)
EVENT.data |= ""
if (EVENT.data == "READY") // Sent by the Javascript in the Activity window
call MSNSLPDebugDisplay("Received Ready signal => confirm page is opened, page driving")
call MSNSLPUserOpenedP4Window()
call MSNSLPSendData("READY")
else if (EVENT.data == "GONE") || (EVENT.data == "GONE_APP_CLOSE") || (EVENT.data == "GONE_UNLOAD") // Sent by the Javascript in the Activity window
call MSNSLPDebugDisplay("Received Gone signal")
call MSNSLPUserClosedP4Window()
else
call MSNSLPDebugError("Received Unknown data")
#############################
### NL-ACTIVITY UI ###
#############################
###
### Handling of user requests to reopen the window.
###
? Can you reinvite me?
? Invite me again.
? Can you reopen the window?
? Open the window again.
? Send me an invitation.
? Invite me!
call ResetIgnoredInvitationAttempts()
- here it is my disciple..
call MSNSLPSendInvitationToOpenMainP4Application()
#############################
### ACTIVITY DEBUGGING ###
#############################
### This is to turn debugging of slp code on/off ###
+ _debugslp
call MSNSLPStartDebugging()
+ _nodebugslp
call MSNSLPStopDebugging()
df