Not logged in. · Lost password · Register
Forum: XMPP Protocol RSS
Avatar
hexin #1
User title: to search knowledge
Member since Mar 2007 · 34 posts · Location: China
Group memberships: Members
Show profile · Link to this post
Subject: How to send SMS messages?
How to realize SMS messages sending with MiniClient?Is there any description about this aspect in xmpp protocols?
Avatar
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
For sending SMS messages you need a SMS gateway. You can install your own one on your server or use a existing one on another server.

Then you send just a normal message to a JID in the following format:
<phonenumber>@sms.server.org
Software Developer
AG-Software
Avatar
hexin #3
User title: to search knowledge
Member since Mar 2007 · 34 posts · Location: China
Group memberships: Members
Show profile · Link to this post
Thanks for your kindness!
but how can wilefire server know that I'm sending a message to the sms gateway?whether the message i send is directly sent to sms gateway. if i install a sms gateway in my server, what i should do to send message to mobile phone and receive and display the response message in my IM platform?Do agsXmpp realize the sms message sending?
Avatar
Jabberer #4
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
your server is for example server.com
Every component/gateway you plugin in the server runs on another domain or subdomain. So when you install the sms gateway it will run for example on sms.server.com, a weather component could run on weather.server.com and a MSN gateway on msn.server.com.

If you send a message to a Jid xyz@sms.server.com then the server knows that this message belongs to the component and routes it to your component.

And its the same for the client. If you discover the server on login and all its components then your client knows if a incoming message is from a contact, mobile phone (sms), weather broadcast service or whatever.
If your client talks only to your own server then you can also hardcode the domains.
Software Developer
AG-Software
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: