I am developing an application which uses the IM messages from Chat client and send it as a text message using SMPP client-server architecture. For XMPP I am using Ejabberd server and for SMPP I am using Logica opensmpp. My plans is when ejabberd server receives an IM message it should send the message and JID(as JID contains phone no of sender and receiver) to Logica opensmpp where I can convert it into a text message and send it to the customer. So my question is how can I connect Ejabberd server with Java application, which module of ejabberd server will be used in this scenario as I am new to Ejabberd server and If you think you have a better approach for above application or if there is any flaw please let me know Thanks alot
how to connect ejabberd server to Logica opensmpp
232 Views Asked by sujays At
2
There are 2 best solutions below
0
Hare Kumar
On
Adding one more point to @Mickaël Rémond : (Add a queue in between) You can write a ejabberd plugin that will push incoming message to a queue and in Java backend you should have a consumer that will process the data and send message back to your customer using mod_rest.
So, what you basically need is a Erlang producer & Java consumer to process and send back message to target users.
Related Questions in XMPP
- sendxmpp not authorized failure (Error AuthSend)
- C# agsxmpp Domain vs connectionserver
- Android Smack4.1.1 XMPP FileTransfer Issue with Iphone
- How to login with recently registered user to openfire in ios?
- Server less Group Messaging (chating) Xmpp
- SASLException not authorized using smack 4.1.1
- Android aSmack - How to make custom message extension for file sending?
- Unable to receive upstream GCM messages with Node.js + XMPP
- Is Node-XMPP useless ? Choosing XMPP server
- Allow ejabberd_service (Jabber Component Protocol) to modify user's roster
- oauth2 authentication support in ejabberd
- iOS XMPP received message in conversation screen
- Typing Status Smack 4.1
- how ot get lastactivity using openfire server and asmack in android
- xmpp send, wait for response
Related Questions in EJABBERD
- Unable start mongoose im in ubuntu. process crashes
- Sending messages to ejabberd doesn't work for me
- Server less Group Messaging (chating) Xmpp
- ejabberd block messages from users that don't stay in my friend list
- Allow ejabberd_service (Jabber Component Protocol) to modify user's roster
- oauth2 authentication support in ejabberd
- Facing badmatch keyfile error while fetching APNS Socket
- Share profile picture change to all users in my roster
- Connection attempt from disallowed node 'ejabberdctl-1@localhost'
- XMPP support for avatars in multi-user chat
- All languages except English literals parsed in GCM POST request
- Parsing ASCII characters with Erlang
- Trouble installing ejabberd on ubuntu
- mod_rest on ejabberd 15.0.4 on MAC OS X yosemite is not starting
- How does whatsapp Keeps its eJabberd/XMPP server connected when the app is Closed?
Related Questions in SMPP
- SMSC is having multiple connections with client But , Client has one connection with SMSC
- wso2 Esb : Error while passing SMPP Request
- Will concatenated sms be delivered always in the order sent out by a GSM handset?
- SMPP receive DLR logic for external api
- old sms read from smpp
- SMPP connect to server and send with GSM
- Kannel SMPP Client Queries
- What is the correct SMPP error code to indicate corrupt/invalid UDH field values?
- getting status of a sent message in JSMPP
- retrieve the remaining credits of their accounts using SMPP (CloudHopper)
- PHP Convert encoding
- If its required to have an SMPP provider to send to another SMPP provider?
- How do I send SMS using Net::SMPP in Perl?
- How to send a WAP Push with jsmpp
- send sms from web application
Related Questions in OPENSMPP
- SMPP java server connect to SMSC or SMPP Client can receive SMS via SMPP?
- How to use the deliver method to send a short message using opensmpp?
- How Delivery Receipt is posted while sending messages from SMSC to ESME
- Java OpenSMPP - TCP ZeroWindow
- having same delivery_sm with same MessageId every time
- auto-test and mock opensmpp message exchange
- Receive Timeout on SMPP
- How to set timeout in SMPP
- What is OpenSmpp address-range used for?
- sending short messages using open smpp 3.4
- Sms not receiving from java web application
- Should ESME send a delivery report?
- SMPP Bind Failed Error: Unable to Establish Connection with SMSC and Getting 'Bind Failed' Error While Trying to Connect to SMPP Server
- Send long sms via Opensmpp
- how to connect ejabberd server to Logica opensmpp
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can write an ejabberd Erlang plugin that will be doing HTTP / HTTPS ReST calls to your Java backend. That's the most common approach for integrating ejabberd with a third-party backend.