Stephen Pendleton | 1 Jun 20:35
Picon

Re: Any Clients Supporting XEP-0080 User Location ?





> Date: Mon, 26 May 2008 19:59:39 -0700
> From: ennova2005-jabber <at> yahoo.com
> To: jdev <at> jabber.org
> Subject: [jdev] Any Clients Supporting XEP-0080 User Location ?
>
>
> Are there any clients that support XEP-0080 ? Any interesting mashups
> of note ?
>

Yes, imov Messenger does and has used XEP-0080 using pubsub (not PEP) for a couple of years now. There is a mashup here http://locator.movsoftware.com/locator with a thousand or so active users sharing their location using the mobile client. A sample user track is here: http://locator.movsoftware.com/locator/priv/ViewUserTrack.aspx?jid=trot84 <at> movsoftware.com
 
 
 
BTW, we did share location using <presence> initially but the problem there is that the location info is always sent, whether or not the receiving client supports (or wants it) it or not. I think most servers support pubsub now.
 
 

Keep your kids safer online with Windows Live Family Safety. Help protect your kids.
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________
JabberForum | 2 Jun 10:25

How is a client crash communicated to the XMPP server?


Hi,
I would like to discuss about what happens when an XMPP client crashes
and how this information is communicated to the server..

I have a server S and 2 clients C1 and C2 connected to the server. C1
has C2 in its roster list and C2 has C1 in its roster list. 

If C1 gracefully logs out, then an iq stanza of type unavailable is
sent to the server and the server broadcasts that stanza to all JIDs
which have a subscription of from or both.

However, I have been trying to search for what happens when the
client crashes (or exits ungracefully). I havent arrived at the answer
yet. Here is what RFC 3291 says : 

"5.1.5.  Unavailable Presence

Before ending its session with a server, a client SHOULD gracefully
become 
unavailable by sending a final presence stanza that possesses no 'to' 
attribute and that possesses a 'type' attribute whose value is 
"unavailable" (optionally, the final presence stanza MAY contain one or

more <status/> elements specifying the reason why the user is no longer

available). *However, the user's server MUST NOT depend on receiving
final 
presence from an available resource, since the resource may become 
unavailable unexpectedly or may be timed out by the server. If one of
the 
user's resources becomes unavailable for any reason (either gracefully
or 
ungracefully), the user's server MUST broadcast unavailable presence to

all contacts *(1) that are in the user's roster with a subscription
type of 
"from" or "both", (2) to whom the user has not blocked outbound
presence,
and (3) from whom the server has not received a presence error during
the 
user's session; the user's server MUST also send that unavailable
presence 
stanza to any of the user's other available resources, as well as to
any 
entities to which the user has sent directed presence during the user's

session for that resource (if the user has not yet sent directed 
unavailable presence to that entity). Any presence stanza with no
'type' 
attribute and no 'to' attribute that is sent after sending directed 
unavailable presence or broadcasted unavailable presence MUST be 
broadcasted by the server to all subscribers. "

Do we interpret that as : "the server will 'somehow' know that the
client has crashed and then publish the unavailable stanzas to everyone
subscribed to that JID ?

Please clarify.. :-)

-santhosh

--

-- 
santhosh.kulandaiyan
------------------------------------------------------------------------
santhosh.kulandaiyan's Profile: http://www.jabberforum.org/member.php?userid=16912
View this thread: http://www.jabberforum.org/showthread.php?t=200

_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

Picon

Re: How is a client crash communicated to the XMPP server?

Hello

On Mon, Jun 02, 2008 at 10:25:02AM +0200, JabberForum wrote:
> However, I have been trying to search for what happens when the
> client crashes (or exits ungracefully). I havent arrived at the answer
> yet. Here is what RFC 3291 says : 

The OS closes the connection. It is enough.

--

-- 
XML is like violence. If it doesn't solve your problem, use more.

Michal 'vorner' Vaner
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________
Jonathan Dickinson | 2 Jun 10:57

Re: How is a client crash communicated to the XMPP server?

Good question.

You will find that the Coversant XMPP communicator does not send a <presence type="unavailable"/> stanza
when it logs out. From what I can tell is that most servers will do that on behalf of the client: it caused me a
few minutes of debugging :).

If you want to tell when the client disconnects unexpectedly from another client (e.g. if you have a contact
that represents your server availability or something) you could do something like:

<presence type="available">
  ...
  <!-- NB: No 'graceful' element -->
</presence>

<presence type="unavailable">
  ...
  <graceful xmlns="http://www.tempuri.org/xmpp.org/graceful">
</presence>

If you receive a stanza without the graceful element you can be sure that the client quit unexpectedly
(server sent 'unavailable' on behalf of the client).

This raises another important question: most servers AND clients are not XMPP compliant. It is very
strange and annoying. Should I take a 'tough luck, you should behave properly' approach to non-compliant
clients and servers?

> -----Original Message-----
> From: jdev-bounces <at> jabber.org [mailto:jdev-bounces <at> jabber.org] On Behalf Of
> JabberForum
> Sent: 02 June 2008 10:25 AM
> To: jdev <at> jabber.org
> Subject: [jdev] How is a client crash communicated to the XMPP server?
>
>
> Hi,
> I would like to discuss about what happens when an XMPP client crashes
> and how this information is communicated to the server..
>
> I have a server S and 2 clients C1 and C2 connected to the server. C1
> has C2 in its roster list and C2 has C1 in its roster list.
>
> If C1 gracefully logs out, then an iq stanza of type unavailable is
> sent to the server and the server broadcasts that stanza to all JIDs
> which have a subscription of from or both.
>
> However, I have been trying to search for what happens when the
> client crashes (or exits ungracefully). I havent arrived at the answer
> yet. Here is what RFC 3291 says :
>
> "5.1.5.  Unavailable Presence
>
> Before ending its session with a server, a client SHOULD gracefully
> become
> unavailable by sending a final presence stanza that possesses no 'to'
> attribute and that possesses a 'type' attribute whose value is
> "unavailable" (optionally, the final presence stanza MAY contain one or
>
> more <status/> elements specifying the reason why the user is no longer
>
> available). *However, the user's server MUST NOT depend on receiving
> final
> presence from an available resource, since the resource may become
> unavailable unexpectedly or may be timed out by the server. If one of
> the
> user's resources becomes unavailable for any reason (either gracefully
> or
> ungracefully), the user's server MUST broadcast unavailable presence to
>
> all contacts *(1) that are in the user's roster with a subscription
> type of
> "from" or "both", (2) to whom the user has not blocked outbound
> presence,
> and (3) from whom the server has not received a presence error during
> the
> user's session; the user's server MUST also send that unavailable
> presence
> stanza to any of the user's other available resources, as well as to
> any
> entities to which the user has sent directed presence during the user's
>
> session for that resource (if the user has not yet sent directed
> unavailable presence to that entity). Any presence stanza with no
> 'type'
> attribute and no 'to' attribute that is sent after sending directed
> unavailable presence or broadcasted unavailable presence MUST be
> broadcasted by the server to all subscribers. "
>
> Do we interpret that as : "the server will 'somehow' know that the
> client has crashed and then publish the unavailable stanzas to everyone
> subscribed to that JID ?
>
> Please clarify.. :-)
>
> -santhosh
>
>
> --
> santhosh.kulandaiyan
> ------------------------------------------------------------------------
> santhosh.kulandaiyan's Profile:
> http://www.jabberforum.org/member.php?userid=16912
> View this thread: http://www.jabberforum.org/showthread.php?t=200
>
> _______________________________________________
> JDev mailing list
> FAQ: http://www.jabber.org/discussion-lists/jdev-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe <at> jabber.org
> _______________________________________________
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

chris johnston | 2 Jun 17:37
Picon

Re: Send SMS from Gmail Over Jabber

Nice service!


How does one acquire NPA NPXX records that define what service provider has what cell phone number??? I have always wondered where this information is located





On Sat, May 31, 2008 at 4:18 AM, JabberForum <list-jdev <at> jabberforum.org> wrote:

Hi

It is interesting to send SMS from Jabber clients like gmail client,
google talk IM client or PSI etc. Following is the address of a good SMS
gateway.

http://www.messagingbay.com/smsxmpp.jsp?navi=27


What is it and How to Start?

A. This service makes it possible to send SMS from your Google Talk IM
client, Gmail client or other Jabber IM client like Psi etc.
B. It is assumed that you already have your Google Talk id (example,
test <at> gmail.com) or other Jabber ID(eg. test <at> jabber.org).
C. Now, Register an account on this website by using your google talk
ID or jabber ID as the username, but choose a different password, you
will get some free credit for sending SMS.
D. From your google talk IM client or other jabber client, adding your
friend's mobile number as new contact/buddy (see following example).
E. Example, if your friend's mobile is +12345678900, you should add
12345678900 <at> sms.messagingbay.com as your new contact.
F. Send message to the newly added contact from your IM client, your
friend will get the message as normal SMS.
G. When SMS is sent, your credit balance will be returned. When SMS is
delivered to your friend's mobile phnoe, you will see the delivery
report on your IM client.
H. If you want to display your own mobile number to the recipients,
please email your mobile number and your account name to
support <at> messagingbay.com so that we can setup for you.
I. If you are advanced user, you will find that "Service Discovery" is
supported. Do service discovery on messagingbay.com and see what is
there.
J. For supporting, please email to support <at> messagingbay.com.

regards


--
messagingbay
------------------------------------------------------------------------
messagingbay's Profile: http://www.jabberforum.org/member.php?userid=16958
View this thread: http://www.jabberforum.org/showthread.php?t=199

_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________



--
------------------------------
Weird misspelled postings and free services - http://yohnson.net/
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________
Zack Sargent | 2 Jun 17:56

Re: Send SMS from Gmail Over Jabber

Probably not what you want to hear, but the only “database of record” for such things is:

 

http://www.voip-info.org/wiki-LERG

 

And it tends to be pricy.  You can find a few knock offs with enough Googling, but if the data derives from this source, it eventually gets shut down.

 

From: jdev-bounces <at> jabber.org [mailto:jdev-bounces <at> jabber.org] On Behalf Of chris johnston
Sent: Monday, June 02, 2008 10:37 AM
To: Jabber/XMPP software development list
Subject: Re: [jdev] Send SMS from Gmail Over Jabber

 

Nice service!


How does one acquire NPA NPXX records that define what service provider has what cell phone number??? I have always wondered where this information is located




On Sat, May 31, 2008 at 4:18 AM, JabberForum <list-jdev <at> jabberforum.org> wrote:


Hi

It is interesting to send SMS from Jabber clients like gmail client,
google talk IM client or PSI etc. Following is the address of a good SMS
gateway.

http://www.messagingbay.com/smsxmpp.jsp?navi=27


What is it and How to Start?

A. This service makes it possible to send SMS from your Google Talk IM
client, Gmail client or other Jabber IM client like Psi etc.
B. It is assumed that you already have your Google Talk id (example,
test <at> gmail.com) or other Jabber ID(eg. test <at> jabber.org).
C. Now, Register an account on this website by using your google talk
ID or jabber ID as the username, but choose a different password, you
will get some free credit for sending SMS.
D. From your google talk IM client or other jabber client, adding your
friend's mobile number as new contact/buddy (see following example).
E. Example, if your friend's mobile is +12345678900, you should add
12345678900 <at> sms.messagingbay.com as your new contact.
F. Send message to the newly added contact from your IM client, your
friend will get the message as normal SMS.
G. When SMS is sent, your credit balance will be returned. When SMS is
delivered to your friend's mobile phnoe, you will see the delivery
report on your IM client.
H. If you want to display your own mobile number to the recipients,
please email your mobile number and your account name to
support <at> messagingbay.com so that we can setup for you.
I. If you are advanced user, you will find that "Service Discovery" is
supported. Do service discovery on messagingbay.com and see what is
there.
J. For supporting, please email to support <at> messagingbay.com.

regards


--
messagingbay
------------------------------------------------------------------------
messagingbay's Profile: http://www.jabberforum.org/member.php?userid=16958
View this thread: http://www.jabberforum.org/showthread.php?t=199

_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________




--
------------------------------
Weird misspelled postings and free services - http://yohnson.net/

_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________
JabberForum | 3 Jun 09:15

Re: How is a client crash communicated to the XMPP server?


>>If you want to tell when the client disconnects unexpectedly from
another >>client (e.g. if you have a contact that represents your server
availability or >>something) you could do something like:

Is there someway to figure out what happens at the server when a client
crashes. Is any iq stanza sent to server (i doubt this would happen,
because the client has crashed) or would the xmpp server come to know
that by polling the status of the underlying tcp connection/socket?

thanks
santhosh

--

-- 
santhosh.kulandaiyan
------------------------------------------------------------------------
santhosh.kulandaiyan's Profile: http://www.jabberforum.org/member.php?userid=16912
View this thread: http://www.jabberforum.org/showthread.php?t=200

_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

Jonathan Dickinson | 3 Jun 14:38

Re: How is a client crash communicated to the XMPP server?

Unfortunately not all clients are 100% XMPP compliant. I am certain that most will give you a
</stream:stream> at the end: so if a client disconnects without that they /should/ have quit unexpectedly.

Conversant XMPP Communicator:

</stream:stream>

Coccinella:

<presence type='unavailable'/>

</stream:stream>

As you can see Coccinella behaves as a client should, but both send the </stream:stream> so you should be
able to tell with that.

So:

Client sends </stream:stream>
   o Disconnect client
   o Client disconnected normally
Client disconnects
   o Abandon client
   o Client disconnected unexpectedly

HTH

> -----Original Message-----
> From: jdev-bounces <at> jabber.org [mailto:jdev-bounces <at> jabber.org] On Behalf Of
> JabberForum
> Sent: 03 June 2008 09:16 AM
> To: jdev <at> jabber.org
> Subject: Re: [jdev] How is a client crash communicated to the XMPP server?
>
>
> >>If you want to tell when the client disconnects unexpectedly from
> another >>client (e.g. if you have a contact that represents your server
> availability or >>something) you could do something like:
>
> Is there someway to figure out what happens at the server when a client
> crashes. Is any iq stanza sent to server (i doubt this would happen,
> because the client has crashed) or would the xmpp server come to know
> that by polling the status of the underlying tcp connection/socket?
>
> thanks
> santhosh
>
>
> --
> santhosh.kulandaiyan
> ------------------------------------------------------------------------
> santhosh.kulandaiyan's Profile:
> http://www.jabberforum.org/member.php?userid=16912
> View this thread: http://www.jabberforum.org/showthread.php?t=200
>
> _______________________________________________
> JDev mailing list
> FAQ: http://www.jabber.org/discussion-lists/jdev-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe <at> jabber.org
> _______________________________________________
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

Peter Saint-Andre | 3 Jun 17:19
Favicon

Re: How is a client crash communicated to the XMPP server?

On 06/03/2008 1:15 AM, JabberForum wrote:
>>> If you want to tell when the client disconnects unexpectedly from
> another >>client (e.g. if you have a contact that represents your server
> availability or >>something) you could do something like:
> 
> Is there someway to figure out what happens at the server when a client
> crashes. Is any iq stanza sent to server (i doubt this would happen,
> because the client has crashed) or would the xmpp server come to know
> that by polling the status of the underlying tcp connection/socket?

If a client disconnects gracefully, it will send </stream:stream> and
close the TCP connection.

If a client disconnected ungracefully, it will send nothing, so the
server will need to poll the TCP connection periodically (if the
connection is idle); this is typically done using so-called "whitespace
pings" as described here:

http://www.xmpp.org/internet-drafts/draft-saintandre-rfc3920bis-05.html#streams-close-idle

Peter

--

-- 
Peter Saint-Andre
https://stpeter.im/

Attachment (smime.p7s): application/x-pkcs7-signature, 7338 bytes
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________
Peter Saint-Andre | 3 Jun 23:47
Favicon

Re: PubSub & News Feeds

On 05/27/2008 4:48 PM, JabberForum wrote:
> Peter Saint-Andre;605 Wrote: 
>> And remember that not everything needs to be defined at the level of
>> XEP-0060. You can define your own semantics on top of that in your own
>> application, without requiring any modifications to XEP-0060 itself.
>> Or
>> so we hope. ;-)
>>
>> Peter
>>
> 
> Hi,
> 
> even though I have some idea about this, could you give an example
> (even a bad one conceptually, just to have a concrete example) about
> this, for instance in the context of what Kelly wants to do please?
> Thanks.

The old pubsub.com service is a good example. They build a nice web
interface for choosing your feeds. Most of those used keyword matching
(e.g., send me all entries that match either "Jabber" or "XMPP") but you
didn't have to worry about the exact NodeID syntax over XMPP, they did
that in their application layer above XEP-0060.

Peter

--

-- 
Peter Saint-Andre
https://stpeter.im/

Attachment (smime.p7s): application/x-pkcs7-signature, 7338 bytes
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe <at> jabber.org
_______________________________________________

Gmane