[jdev] Packets delivery and stanzaTO

gregoire athanase gregoireathanase at yahoo.fr
Tue Apr 27 08:24:27 CDT 2004


Thanks a lot! 

--- Stephen Pendleton <spendleton at movsoftware.com>
wrote:
> My mistake. You will need to add a resource to that
> query:
> 
> <iq to='lbs at movsoftware.com/movcast'
>     from='juliet at capulet.com/balcony'
>     type='get'
>     id='route1'>
>   <query
> ....
> 
> BTW, the service will not respond yet. I will let
> the list know when the
> service has been reactivated.
> Thanks,
> Stephen
> 
> -----Original Message-----
> From: jdev-bounces at jabber.org
> [mailto:jdev-bounces at jabber.org] On Behalf Of
> gregoire athanase
> Sent: Tuesday, April 27, 2004 7:26 AM
> To: Jabber software development list
> Subject: RE: [jdev] Packets delivery and stanzaTO
> 
> 
> Hi everybody,
> 
> For routing and location stanzas, i send IQ or
> PRESENCE stanzas with a TO jid, such as:
> <iq to='lbs at movsoftware.com'
>     from='juliet at capulet.com/balcony'
>     type='get'
>     id='route1'>
>   <query
> xmlns='http://www.movsoftware.com/protocol/routing'>
>     <src jid='foo at jabber.org'/>
>     <dst jid = 'bar at jabber.org'/>
>   </query>
> </iq>
> 
> My jabber server (jabberd 1.4.3 win32) does not
> deliver the stanzas to the intended jid, although
> there is no problem with message stanzas. Do I need
> to configure something
> in jabberd1.4.3? Else do you know of a jabber server
> which delivers these
> stanzas to the TO jid?
> 
> 
> The jabberd 1.4.3 writes in the log file -among not
> so interesting other
> things: util.c:75 dropping 503 packet <iq
> to='lbs at movsoftware.com'
> from='juliet at capulet.com/balcony' type='error'
> id='route1'><error
> code='503'>Service Unavailable</error></iq>
> 
> 
> --- Stephen Pendleton <spendleton at movsoftware.com>
> wrote:
> > Yes, UTM would be good to have. I don't know about
> > the nacgeo, it looks a
> > bit too proprietary a scheme. Plus a GPS/location
> > device doesn't have
> > support for that system, so a translation table or
> > formula would be needed.
> > 
> > However, everything can be easily converted to
> > decimal lat/long, so for
> > simplicity I would leave it at that for the first
> > iteration.
> > 
> > -----Original Message-----
> > From: gregoire athanase
> > [mailto:gregoireathanase at yahoo.fr]
> > Sent: Monday, April 12, 2004 6:15 PM
> > To: pendleto at movsoftware.com; Jabber software
> > development list
> > Subject: Re: [jdev] Jabber and Routing Information
> > 
> > 
> > hallo,
> > 
> > why don't you consider the use of UTM? and of "the
> > universal address system" http://www.nacgeo.com/
> > 
> > and imo the user should be able to indicate source
> > and destinations in
> > different location systems.
> > 
> > 
> > --- Stephen Pendleton <spendleton at movsoftware.com>
> > wrote:
> > > Hello,
> > > 
> > >     I am introducing a new service that client
> > > developers may be interested
> > > in. This service will deliver turn-by-turn
> routing
> > information
> > > (similar to
> > > MapQuest) between pairs of JID's (that have
> > location information
> > > associated with them by implementation of the
> > GEOLOC JEP), or
> > > pairs of postal addresses
> > > or latitude/longitude pairs.
> > > 
> > > Currently the system can return lists of text
> > > strings that describe each
> > > segment of the route (e.g. "Turn left at Main
> > > Street") and a URL to an
> > > associated gif graphic that displays the
> segment.
> > > 
> > > The proposed protocol is listed below, but I
> would
> > > like feedback on the
> > > protocol before drafting a JEP. If you have any
> > > comments please let me know,
> > > either by replying to the post - or sending me
> > email directly.
> > > --------------------
> > > Requesting and Returning Routing Information
> with
> > > XMPP
> > > 
> > > 
> > > Entities can request routing information between
> > two
> > > jids or two locations
> > > specified by either latitude/longitude pairs or
> > the
> > > postal address of the
> > > endpoints.
> > > 
> > > 
> > > Entity requests routing information between jids
> > foo at jabber.org and
> > > bar at jabber.org:
> > > 
> > > 
> > > 
> > > <iq
> > >     to='lbs at movsoftware.com'
> > >     from=' juliet at capulet.com/balcony'
> > >     type='get'
> > >     id='route1'>
> > >   <query
> > >
> >
> xmlns='http://www.movsoftware.com/protocol/routing'>
> > >     <src jid='foo at jabber.org'/ >
> > >     <dst jid = 'bar at jabber.org'/>
> > >   </query>
> > > 
> > > </iq>
> > > 
> > > 
> > > 
> > > Entity requests routing information between
> > latitude/longitude pairs
> > > -37.34,-33.33 and -40.433, -20.222:
> > > 
> > > 
> > > 
> > > <iq
> > >     to='lbs at movsoftware.com'
> > >     from=' juliet at capulet.com/balcony'
> > >     type='get'
> > >     id='route1'>
> > >   <query
> > >
> >
> xmlns='http://www.movsoftware.com/protocol/routing'>
> > >     <src lat='-37.24' lon='-33.33'/ >
> > >     <dst lat = '-40.422' lon='-20.222'/>
> > >   </query>
> > > 
> > > </iq>
> > > 
> > > 
> > > 
> > > Entity requests routing information between
> postal
> > > address pairs 4555 Main
> > > Street,Philadelphia PA,USA,19117 and 9000 West
> Elm
> > Street,Philadelphia
> > > PA,USA,19117 :
> > > 
> > > 
> > > 
> > > <iq
> > >     to='lbs at movsoftware.com'
> > >     from=' juliet at capulet.com/balcony'
> > >     type='get'
> > >     id='route1'>
> > >   <query
> > >
> >
> xmlns='http://www.movsoftware.com/protocol/routing'>
> > >     <src street= '4555 Main Street '
> > > city='Philadelphia' state = 'PA'
> > > country='USA' code='19117'/ >
> > >     <dst street= '9000 West Elm Street '
> city='Philadelphia' state = 
> > > 'PA' country='USA' code='19117'/ >
> > >   </query>
> > > </iq>
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Routing information is returned as a series of
> > > segments:
> > > 
> > > <iq type='result'
> > >     id='route1'
> > >     to='juliet at capulet.com/balcony'
> > >     from='lbs at movsoftware.com'>
> > >   <query
> > >
> >
> xmlns='http://www.movsoftware.com/protocol/routing'>
> > >     <src jid='foo at jabber.org'/ >
> > >     <dst jid = 'bar at jabber.org'/>
> > >     <segment id = '1'>Depart Start on Chevy
> Chase
> > > Lake Dr (West)</segment>
> > >     <segment id = '2'>Turn RIGHT (North) onto
> > SR-185 [Connecticut
> > > Ave]</segment>
> > >     <segment id = '3'>Take Ramp (RIGHT) onto
> I-495
> > > [I-495
> > > Outerloop]</segment>
> > >     <segment id = '4'>Turn RIGHT (South) onto S
> > > Sherwood Rd [Sherwood Rd]
> > > </segment>
> > >   </query>
> > > </iq>
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > jdev mailing list
> > > jdev at jabber.org
> > https://jabberstudio.org/mailman/listinfo/jdev
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online by April 15th 
> > http://taxes.yahoo.com/filing.html
> > 
> > 
> > 
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> https://jabberstudio.org/mailman/listinfo/jdev
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs  
> http://hotjobs.sweepstakes.yahoo.com/careermakeover 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> https://jabberstudio.org/mailman/listinfo/jdev
> 
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> https://jabberstudio.org/mailman/listinfo/jdev



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



More information about the JDev mailing list