Carl J


If I have an Agent that connects to multiple MSN accounts at the same time, is there a way to determine which MSN account/end point the user contacted

Thanks




Re: An Agent with Multiple MSNs

Riaanvs


Hi Carl

The easiest way for me to do is to refer to the SYS.Buddy.ScreenName value. I'm sure there are other ways but this one works well for me.

Cheers
Riaan







Re: An Agent with Multiple MSNs

Carl J

Hey Riaan, thanks a lot.

I'll give this a try when I get back to the office

Jason






Re: An Agent with Multiple MSNs

Carl J

Hey Riaan,

Did you have to do anything differently when using more than one MSN account per bot

Right now for testing purposes, I have the bot return "SYS.Buddy.ScreenName" when the user chats with it, but no matter which bot I message, it always returns the ScreenName for the first one.

Thanks,

Jason





Re: An Agent with Multiple MSNs

Gruia Pitigoi-Aron - MSFT

Hi Jason,

The way to work around this is to use multiple buddy ids with a screen name each. This is because we currently store the screen name in the buddy information, not in the conversation.

We will take this as a bug to be considered for a future version.

Thank you,

Gruia





Re: An Agent with Multiple MSNs

Riaanvs

Really

I am using SYS.Buddy.ScreenName and it works fine for me. I know in test mode using the IDE this does not work but in proper deploy mode it works fine...

Riaan






Re: An Agent with Multiple MSNs

Carl J

I've created 3 new Buddies (Testbot1, Testbot2, Testbot3), each with their own MSN login. However, usually only two of them will connect, and when I try to chat with them, I can't get a response back. I do get the message saying that it's typing, but thats it.

If I put all three MSNs under the AutomatedAgent Buddy, I can get a response back, but when they return their SYS.Buddy.ScreenName, its the screenname for the first bot i talked to.





Re: An Agent with Multiple MSNs

Carl J

Any other suggestions

If I create multiple buddy IDs in the Management Console, each with their own MSN account, do I also have to create a buddy in the IDE under AutomatedAgent and KnowledgeEditor

Is there anything else that has to be done in the Management Console other than clicking on Buddy Configuration > Buddy and then creating a new MSN under that buddy

So far I have multiple buddy ids, each with their own MSN account. However, only the bot with the msn account that is listen under automated agent will reply back.