Hi Vadim, hi list,
We're currently debugging peer-to-peer presence. It is quite flaky,
works only sometimes.
Im have added myself as a contact. I've observed that -- even if the
client ask me repeatedly if I want to publish my presence (to myself) --
the presence is not sent out and the presence is shown as grey for long
periods. For other contacts (also using our branded version of qutecom)
I'm also not seeing their presence when the come online. Or at some
point presence is no longer updated.

I've verified that this seems to be a sending problem:
- Started wireshark with capture filter "udp port 5060"
- change presence on my client
sometimes the presence is immediately changed (expected behaviour), but
sometimes it doesn't change when changing the presence. This seems to be
presence-state dependent: Sometimes changing from red to orange and back
works, but green doesn't, sometimes other colors don't work, but others
do. In Wireshark I don't see the packet count incremented in the
non-working cases -- so the qutecom client doesn't send anything in that
case.

So my question to further debug this:
- Where is the presence-sending code located
- Where is the presence-request code located (Hypothesis: seems that if
  nothing is received from a peer when the client starts up it never
  asks again)

On a related note:
For our client I've modified the sms behaviour so that I'm dynamically
creating a SIP-Contact when the SMS button is pressed and create a chat
window for [EMAIL PROTECTED], e.g., [EMAIL PROTECTED], the
chat-window is named +436506214XXX (without the domain part). Now if an
answer comes back (yes the gateway is capable of relaying an Answer-SMS
to the SIP client), a new chat-window opens with the name
[EMAIL PROTECTED]:5060 -- seems I have to register my new IM-Contact
into some list so that it is found by the message-receiving code and it
finds the correct Contact and associated already-opened chat window.
- Where can I start to look for the SIP message-receiving code, where it
  tries to find an open chat-window or an existing contact?
- Are there data structures where I'd have to register my IM-Contact to
  be found during incoming messages?

I'd appreciate some help and further pointers...
thanks
Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  Fax:   +43/2243/26465-23
Reichergasse 131                        www:   http://www.runtux.com
A-3411 Weidling                         email: [EMAIL PROTECTED]
osAlliance member                       email: [EMAIL PROTECTED]
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to