[JDEV] Registering with AIM 0.85 with Jabber1.4 (AGIAN)
Vamsi Mohun
vmohun at hotmail.com
Wed Jan 10 12:15:11 CST 2001
Thanks David.
Actually, the client was logged and did get a <presence> from
"aimtrans.mycompany.com> asking for a subscription.
The fromJID.getResource() for this <presence> returns
"registered?name=user1&pass=password1"
and this needs to be changed to
"registered?name=user1&pass=password1"
for the "subscribed" to be successful.
Vamsi
> 13. Re: Registering with AIM 0.85 with Jabber1.4 (AGIAN) (David Waite)
>Message: 13
>Date: Tue, 09 Jan 2001 19:57:40 -0700
>From: David Waite <dwaite at jabber.com>
>To: jdev at jabber.org
>Subject: Re: [JDEV] Registering with AIM 0.85 with Jabber1.4 (AGIAN)
>Reply-To: jdev at jabber.org
>
>It looks like you are unavailable when you do the registration - are you
>using a widely distributed client?
>
>The hidden="" and subscribe="" both indicate a pending incoming
>subscription - that the aim-transport was trying to subscribe to you but
>you werent online and available, so you couldn't receive the
>subscription request.
>
>Seeing aim-transport's subscription would be nice (to see if it is
>online), but what you really need is subscription="from", indicating
>that the aim-transport can see your presence. When you go online, it
>sends the presence update to aim-transport with the resource containing
>all your user information - this is the trigger for the transport to log
>you in.
>
>So, it looks like things are waiting on the user. Since you didn't seem
>to receive the presence request, I assume you were unavailable while
>doing the subscription: you should send a <presence/> out to go online,
>so that you can receive this.
>
>-David Waite
>
>Vamsi Mohun wrote:
>
> >> 2. Registering with AIM 0.85 with Jabber1.4 (Vamsi Mohun)
> >>
> >> Hi all,
> >>
> >> To be able to send messages to aim I am registering user1 with the
> >> aim-transport. This is creating an entry in user1.xml that looks like
> >> this.
> >>
> >> ...xdbns='jabber.iq.roster'><item
>jid='aimtrans.mycompany.com/registered
> >> ?name=user1&pass=password1' subscription='none' subscribe=''
> >> hidden=''/>
> >>
> >>
> >> Unless I MANUALLY change the value for "subscription" to "both" I am
> >> not able to talk to the aim-transport. Is there any request that I can
> >> send that will change this programmatically.
> >>
> >> Thanks
> >> Vamsi
> >
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
More information about the JDev
mailing list