Hello Norman,

Thank you for you answer. I've researching this further and I think my 
problem comes from the fact that the transport does not know my 
component is online.
As you see I sent those important packets you mentioned but it seems the 
gateway does not see me as online because it logs these:

08/12/05 - 13:55:06 - RegisterManager: Sent off a result Iq
08/12/05 - 13:55:06 - PyTransport: Sending unavailable presence to 
non-logged in user "[EMAIL PROTECTED]"

so that I get this:

<presence to="[EMAIL PROTECTED]" from="msn.devel.pbxip.net" 
type="unavailable"/>

So what I need now is a way to let the server know my component is 
online considering that the presence packet I send does not seem to do 
the trick.

Regards,
        Jorge

Norman Rasmussen wrote:
> The most import parts are you need to send:
> 
> <iq type="set" id="790-30" to="msn.devel.pbxip.net"
> from="[EMAIL PROTECTED]"><query
> xmlns="jabber:iq:register"><username>[EMAIL 
> PROTECTED]</username><password>xxxxxx</password><nick>SIGKILL</nick></query></iq>
> 
> and respond to the presence request with:
> 
> <presence from="[EMAIL PROTECTED]" to="msn.devel.pbxip.net"/>
> 
> the probe is just a are-you-there query, which you should respond to.
> 
> If in doubt read RFC's:
> RFC 3920 - XMPP Core - http://www.ietf.org/rfc/rfc3920.txt
> RFC 3921 - XMPP IM - http://www.ietf.org/rfc/rfc3921.txt
> 
> IIRC - 3921 has presence info in section 2.2.1
> 
> On 11/08/05, Jorge Merlino <[EMAIL PROTECTED]> wrote:
> 
>>Daniel D?az wrote:
>>...
>>
>>>That's for the end user, but the same applies to whatever bot you have
>>>(given the bot "follows" the same procedure to register itself with
>>>the gateways/transports (hint: you'll end up doing it in its behalf)).
>>>
>>>Let us know how it goes.
>>>
>>>Greetings!
>>>
>>>Daniel D?az
>>>[EMAIL PROTECTED]
>>
>>Hi Daniel,
>>
>>I'm still working on this. I sniffed the protocol between a psi client
>>and the server when the client registers to the msn transport and I'm
>>trying to replicate this in my component.
>>What I have so far is this:
>>
>>send:
>><iq type="set" id="790-30" to="msn.devel.pbxip.net"
>>from="[EMAIL PROTECTED]"><query
>>xmlns="jabber:iq:register"><username>[EMAIL 
>>PROTECTED]</username><password>xxxxxx</password><nick>SIGKILL</nick></query></iq>
>>
>>receive:
>><iq from="msn.devel.pbxip.net" type="result" id="790-30"
>>to="[EMAIL PROTECTED]"/>
>>
>>receive:
>><presence to="[EMAIL PROTECTED]" from="msn.devel.pbxip.net"
>>type="subscribe"/>
>>
>>send:
>><presence from="[EMAIL PROTECTED]" to="msn.devel.pbxip.net"
>>type="subscribe"/>
>>
>>send:
>><presence from="[EMAIL PROTECTED]" to="msn.devel.pbxip.net"
>>type="subscribed"/>
>>
>>receive:
>><presence type="probe" from="msn.devel.pbxip.net"
>>to="[EMAIL PROTECTED]"/>
>>
>>send:
>><presence from="[EMAIL PROTECTED]" to="msn.devel.pbxip.net"/>
>>
>>receive:
>><presence to="[EMAIL PROTECTED]" from="msn.devel.pbxip.net"
>>type="unavailable"/>
>>
>>receive:
>><presence to="[EMAIL PROTECTED]" from="msn.devel.pbxip.net"
>>type="unavailable"/>
>>
>>And that's all I get. In the conversation between psi and the server I
>>see more iq packets like this:
>>
>><iq type="set" id="395-16" to="[EMAIL PROTECTED]/Psi"><query
>>xmlns="jabber:iq:roster"><item jid="msn.devel
>>   .pbxip.net" subscription="none"/></query></iq>
>>
>>but I don't receive those in my component.
>>
>>What am I missing?
>>
>>
>>Thank you for your time
>>Regards,
>>        Jorge
>>_______________________________________________
>>py-transports mailing list
>>[email protected]
>>http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>
> 
> 
> 

-- 
Ing. Jorge Merlino
Teledata Comunicaciones
Canelones 2101 - Montevideo - Uruguay
[EMAIL PROTECTED]
From [EMAIL PROTECTED]  Fri Aug 12 17:15:57 2005
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Fri Aug 12 17:16:00 2005
Subject: [py-transports] Register another component to msn
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

generally you just have to send the presence packet (with a blank
type!) and that's good enough for the server to broadcast it to your
entire roster.  Make sure the transport is added to your roster - you
do this by sending a subscribe presence to the transport.

On 12/08/05, Jorge Merlino <[EMAIL PROTECTED]> wrote:
> Hello Norman,
> 
> Thank you for you answer. I've researching this further and I think my
> problem comes from the fact that the transport does not know my
> component is online.
> As you see I sent those important packets you mentioned but it seems the
> gateway does not see me as online because it logs these:
> 
> 08/12/05 - 13:55:06 - RegisterManager: Sent off a result Iq
> 08/12/05 - 13:55:06 - PyTransport: Sending unavailable presence to
> non-logged in user "[EMAIL PROTECTED]"
> 
> so that I get this:
> 
> <presence to="[EMAIL PROTECTED]" from="msn.devel.pbxip.net"
> type="unavailable"/>
> 
> So what I need now is a way to let the server know my component is
> online considering that the presence packet I send does not seem to do
> the trick.
> 
> Regards,
>         Jorge
> 
> Norman Rasmussen wrote:
> > The most import parts are you need to send:
> >
> > <iq type="set" id="790-30" to="msn.devel.pbxip.net"
> > from="[EMAIL PROTECTED]"><query
> > xmlns="jabber:iq:register"><username>[EMAIL 
> > PROTECTED]</username><password>xxxxxx</password><nick>SIGKILL</nick></query></iq>
> >
> > and respond to the presence request with:
> >
> > <presence from="[EMAIL PROTECTED]" to="msn.devel.pbxip.net"/>
> >
> > the probe is just a are-you-there query, which you should respond to.
> >
> > If in doubt read RFC's:
> > RFC 3920 - XMPP Core - http://www.ietf.org/rfc/rfc3920.txt
> > RFC 3921 - XMPP IM - http://www.ietf.org/rfc/rfc3921.txt
> >
> > IIRC - 3921 has presence info in section 2.2.1
> >
> > On 11/08/05, Jorge Merlino <[EMAIL PROTECTED]> wrote:
> >
> >>Daniel D?az wrote:
> >>...
> >>
> >>>That's for the end user, but the same applies to whatever bot you have
> >>>(given the bot "follows" the same procedure to register itself with
> >>>the gateways/transports (hint: you'll end up doing it in its behalf)).
> >>>
> >>>Let us know how it goes.
> >>>
> >>>Greetings!
> >>>
> >>>Daniel D?az
> >>>[EMAIL PROTECTED]
> >>
> >>Hi Daniel,
> >>
> >>I'm still working on this. I sniffed the protocol between a psi client
> >>and the server when the client registers to the msn transport and I'm
> >>trying to replicate this in my component.
> >>What I have so far is this:
> >>
> >>send:
> >><iq type="set" id="790-30" to="msn.devel.pbxip.net"
> >>from="[EMAIL PROTECTED]"><query
> >>xmlns="jabber:iq:register"><username>[EMAIL 
> >>PROTECTED]</username><password>xxxxxx</password><nick>SIGKILL</nick></query></iq>
> >>
> >>receive:
> >><iq from="msn.devel.pbxip.net" type="result" id="790-30"
> >>to="[EMAIL PROTECTED]"/>
> >>
> >>receive:
> >><presence to="[EMAIL PROTECTED]" from="msn.devel.pbxip.net"
> >>type="subscribe"/>
> >>
> >>send:
> >><presence from="[EMAIL PROTECTED]" to="msn.devel.pbxip.net"
> >>type="subscribe"/>
> >>
> >>send:
> >><presence from="[EMAIL PROTECTED]" to="msn.devel.pbxip.net"
> >>type="subscribed"/>
> >>
> >>receive:
> >><presence type="probe" from="msn.devel.pbxip.net"
> >>to="[EMAIL PROTECTED]"/>
> >>
> >>send:
> >><presence from="[EMAIL PROTECTED]" to="msn.devel.pbxip.net"/>
> >>
> >>receive:
> >><presence to="[EMAIL PROTECTED]" from="msn.devel.pbxip.net"
> >>type="unavailable"/>
> >>
> >>receive:
> >><presence to="[EMAIL PROTECTED]" from="msn.devel.pbxip.net"
> >>type="unavailable"/>
> >>
> >>And that's all I get. In the conversation between psi and the server I
> >>see more iq packets like this:
> >>
> >><iq type="set" id="395-16" to="[EMAIL PROTECTED]/Psi"><query
> >>xmlns="jabber:iq:roster"><item jid="msn.devel
> >>   .pbxip.net" subscription="none"/></query></iq>
> >>
> >>but I don't receive those in my component.
> >>
> >>What am I missing?
> >>
> >>
> >>Thank you for your time
> >>Regards,
> >>        Jorge
> >>_______________________________________________
> >>py-transports mailing list
> >>[email protected]
> >>http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
> >>
> >
> >
> >
> 
> --
> Ing. Jorge Merlino
> Teledata Comunicaciones
> Canelones 2101 - Montevideo - Uruguay
> [EMAIL PROTECTED]
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
> 


-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Fri Aug 12 17:24:09 2005
From: [EMAIL PROTECTED] (Adam Chernow)
Date: Fri Aug 12 17:24:14 2005
Subject: [py-transports] PyAIM.. Losing connection???
Message-ID: <[EMAIL PROTECTED]>


Ok.. Here's what's going on now.. PyAim is working,
most of the time.  Today I had to log off and log back
onto my Jabber account because I noticed that AIM
presences weren't being updated.  I verified this by
logging onto AIM from a 2nd account I have with AOL's
client and 1. It was not showing up on my roster that
the screen name had been logged in 2. People on my
roster who PyAIM/Jabber said were available and online
were either offline or had away messages up and 3.
People's away messages had changed but I had not seen
the change in status on my jabber roster.  The
communication breakdown probably happened sometime
last night because I had tried to reply to a friend's
IM from earlier in the night (he had IMed me while I
was not in the room) and I never got a response from
him which means he was probably either offline or
didn't get the message since he had asked me a
question to which I was responding. 

Anyone else having any similar issues?

-A

-- 
Words to think about...

"All that matters in a relationship is that you both like
the same pizza toppings"
                                                  - Daria
From [EMAIL PROTECTED]  Fri Aug 12 17:31:40 2005
From: [EMAIL PROTECTED] (Chris Carlin)
Date: Fri Aug 12 17:30:42 2005
Subject: [py-transports] PyAIM.. Losing connection???
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

This was fixed with a patch posted quite a while ago.

Daniel, could you release a new version with at least this one major patch 
applied?

~Chris

On Fri, 12 Aug 2005, Adam Chernow wrote:

>
> Ok.. Here's what's going on now.. PyAim is working,
> most of the time.  Today I had to log off and log back
> onto my Jabber account because I noticed that AIM
> presences weren't being updated.  I verified this by
> logging onto AIM from a 2nd account I have with AOL's
> client and 1. It was not showing up on my roster that
> the screen name had been logged in 2. People on my
> roster who PyAIM/Jabber said were available and online
> were either offline or had away messages up and 3.
> People's away messages had changed but I had not seen
> the change in status on my jabber roster.  The
> communication breakdown probably happened sometime
> last night because I had tried to reply to a friend's
> IM from earlier in the night (he had IMed me while I
> was not in the room) and I never got a response from
> him which means he was probably either offline or
> didn't get the message since he had asked me a
> question to which I was responding.
>
> Anyone else having any similar issues?
>
> -A
>
> -- 
> Words to think about...
>
> "All that matters in a relationship is that you both like
> the same pizza toppings"
>                                                  - Daria
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
From [EMAIL PROTECTED]  Fri Aug 12 17:56:12 2005
From: [EMAIL PROTECTED] (Daniel Henninger)
Date: Fri Aug 12 17:56:09 2005
Subject: [py-transports] PyAIM.. Losing connection???
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Which patch was it and I'll be happy to.  I'm not remembering the issue
directly.

Daniel

-- 
"The most addictive drug in the world is music."
     - The Lost Boyz

> This was fixed with a patch posted quite a while ago.
>
> Daniel, could you release a new version with at least this one major patch
> applied?
>
> ~Chris
>
> On Fri, 12 Aug 2005, Adam Chernow wrote:
>
>>
>> Ok.. Here's what's going on now.. PyAim is working,
>> most of the time.  Today I had to log off and log back
>> onto my Jabber account because I noticed that AIM
>> presences weren't being updated.  I verified this by
>> logging onto AIM from a 2nd account I have with AOL's
>> client and 1. It was not showing up on my roster that
>> the screen name had been logged in 2. People on my
>> roster who PyAIM/Jabber said were available and online
>> were either offline or had away messages up and 3.
>> People's away messages had changed but I had not seen
>> the change in status on my jabber roster.  The
>> communication breakdown probably happened sometime
>> last night because I had tried to reply to a friend's
>> IM from earlier in the night (he had IMed me while I
>> was not in the room) and I never got a response from
>> him which means he was probably either offline or
>> didn't get the message since he had asked me a
>> question to which I was responding.
>>
>> Anyone else having any similar issues?
>>
>> -A
>>
>> --
>> Words to think about...
>>
>> "All that matters in a relationship is that you both like
>> the same pizza toppings"
>>                                                  - Daria
>> _______________________________________________
>> py-transports mailing list
>> [email protected]
>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
>
>

Reply via email to