Live Chat is a very famous tool on websites, and the operators use a special web/windows interface to talk to the clients.
What I want to implement is to specify some email accounts, and when the client click's the live chat and starts typing, his/her instant messages are delivered to the available email account. My operators can talk back to them as if they are on their friends list.
I don't need to require any login or registration for clients to use this Live Chat.
So are there any ideas about how to implement such a thing? Are there any good third-party-modules that already do that?
Would MSNP-Sharp be suitable? I haven't used it but it talks about provisioned accounts for bots, which is what you are basically doing.
Otherwise you would have to use it and create several Live IDs that are automatically used by the website to talk to your operators. Each user that uses the chat would be temporarily assigned that LiveID so you would have to ensure you had enough IDs to cover active chat users.
I don't know if what your looking for is possible. To connect to live messenger I believe always requires registration.
If you just want a LiveChat module, this might help http://livechatstarterkit.codeplex.com/
Take a look at samples for Messenger Connect - http://archive.msdn.microsoft.com/messengerconnect there is one that shows how to implement chat on web application.
Related
I don't even know what to look for. I tried using the directory API to accomplish this however I was not lucky. I have a service account key created so that my console app (which will become a azure web job) doesn't have to approve any permissions...
Can someone help with direction? I just don't even know where to start...
Depends where you want to start. There are probably a few libraries that will emulate the IMAP or POP3 protocols for you.
However you can also code the following protocols fairly easily.
https://code.msdn.microsoft.com/windowsdesktop/Simple-IMAP-CLIENT-b249d2e6
This example should get you started for IMAP, and POP3 will follow similar protocols.
EDIT:
I misunderstood the question. I was looking at gmail groups and I think I understand what you're trying to do. Retrieving emails from a group isnt really possible as the emails aren't shared. All a gmail group is, is a distribution list which sends emails to all the attendees in the list.
What i would do now is create a new Gmail account, and add it to the work group and have it receive all the emails. Use the Google SDK or the self created protocol to retrieve all the messages manually from the message box.
This will be the 3rd time attempting this question. I figure some stuff out as I go along, and then I get stuck at a different place, but I probably will need help with my final two problems.
I was given a task to create a IM solution for our company that will work with apps like IM+ etc.
A bit of background on what is required:
A person will use a IM app on his phone, or our website that will be setup to connect to our server.
I wrote a plugin that as soon as somebody connects to the server, a chat session will be initiated with a bot that will ask for some information.
After the bot identified the customer, I would like to "transfer" the chat session to a human that will be logged in on the server as well. This is Problem 1 Is it possible to "transfer" a chat session to somebody else?
My second problem is this.
Most of the times a customer will not be registered on Openfire as a user. I've allowed for anonymous login on the server, but I can't seem to get it to work. I've downloaded jabber-net client, and the bot is currently using asgXMPP to connect. And if I try to send a null username and password, it does not connect, does not give any errors, nothing.
If anybody can help me out a bit I would appreciate it. I am TOTALLY new to XMPP, and I'm happy with what I've accomplished so far.
Jaques
I can't really answer questions about how agsXMPP or jabber-net work, but: an anonymous session is not the same as a normal session with no password, it uses a different authentication mechanism (SASL ANONYMOUS), so you'll have to see whether those libraries support it, and how to request they use it.
For transferring chat sessions - there isn't really any sort of 'chat session' going on, it's just a series of messages. In principle you just need to send a stanza to the client asking it to talk to someone else instead of the bot once the bot's done with it. If you want to then forward the conversation history on to the new chat partner there's XEP-0297 that you could usefully apply for this.
I am looking into an alternative solution to my jQuery and Ajax alerting feature in my MVC4 app. I have stumbled across SignalR which looks like it can solve my solution but where I hear you can broadcast to a certain client and not all, I cannot seem to find an example.
Basically all I want to know is:
On set up can the clientID be the applications UserID on login?
Are you able to broadcast to specific roles and/or a list of userID's
Are there are any examples that can help demonstrate the above?
Thanks in advance
With SignalR you can manage your own user identities. SignalR represents each user with a ConnectionId but it is ultimately up to the dev to map that to an existing user profile.
Yes, you are able to broadcast to groups or specific clients. You can add clients to groups and then send single messages to multiple people simultaneously or you can send to a specific client.
As noted in the comment JabbR is an excelent example. Also for a quick start on getting introduced to SignalR check out the Quick Start Hubs page. Lastly SignalR is open source so check out the source and the wiki.
I'm working on a subscription data delivery webservice using C# and WCF. Customers will sign-up to use the service at different usage levels for a monthly fee. The project requirements call for the service to be accessible from a web app hosted on the same server, from a desktop app and Windows service distributed to customers and from a WordPress plugin. In the future, support may be added for other CMS systems and mobile (Apple/Android) apps.
The security requirements include a standard user ID and password authentication for each call to the service to verify subscription status and type and to track user activity. That's easy enough to do but there's more and that's what I'm looking for advice on.
First of all, there's the need to track IP addresses and use this information to control access. One part of this is to restrict the number of different IP addresses the service can be called from within a specific time period per ID and subscription type. The second part is to prevent access to the service from certain countries entirely. I've read some other answers here about how to implement IP address detection/tracking in general but I am more concerned about potential difficulties associated with this that others have encountered. What should we watch out for here?
The second major security requirement is to restrict access to the service to our provided desktop/service applications or from authorized domains using our CMS plugins. I'm not sure how this can be implemented other than using some sort of authentication token which of course could be easily hacked. Perhaps in combination with the login and IP address requirements this will be enough though. Are there any alternative methods that might be a better approach to take?
I would like to know what is the possibilities to programmatically change data on Exchange Server?
with Exchange Web Service (EWS) can I (change means add/edit/delete):
change data on Exchange Server for other users?
change Global Address List?
if not, how I can do that programmatically?
we have a system that we need to make it communicate with Exchange Server to do different tasks, related to calendar, email, GAL
what is the best practice and approach I should think about?
cheers
I dont't know what about GAL, but surely You can manage users calendars(adding meeting,s adding taksks, ...) and emails(reading, sending etc.).
To manage other user accounts You have to enable impersonation.
Some time ago I wrote two posts on my blog how to impersonate Exchange Service Binding and how to add an appointment to any users calendar in Exchange. I won't paste the code here because it makes no sense, just here You have links if You're interested:
Impersonation
Creating appointment
But now it's easier way to achieve the same results as above, but with less lines of code thanks to Exchange Web Services Managed API 1.1 SDK. So, if You want to enable communication with excahnge You should read more about this API and see if it suits You and Your demands.