linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] how to check online status of friend in linph


From: Harishkumar V
Subject: Re: [Linphone-developers] how to check online status of friend in linphone-3.1.2
Date: Thu, 10 Sep 2009 17:54:43 +0530

Hi,

this is my log message for offline event.  The other user is not notified that i am offline.

Proxy-Authorization: Digest username="harishkumar", realm="sip.antisip.com", nonce="4aa8f36590216960d7ec263f90f88aefa93cc018", uri="sip:address@hidden", response="2a30e54ccffafa754b644caf036b749e", algorithm=MD5, cnonce="0a4f113b", qop=auth, nc=00000001
Content-Type: application/pidf+xml
Max-Forwards: 70
User-Agent: Linphone/3.1.0 (eXosip2/3.1.0)
Expires: 1800
Event: presence
Content-Length:   347

<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf"
xmlns:es="urn:ietf:params:xml:ns:pidf:status:rpid-status"
entity="sip:address@hidden">
<tuple id="sg89ae">
<status>
<basic>closed</basic>
<es:activities>
  <es:activity>permanent-absence</e:activity>
</es:activities>
</status>
</tuple>

</presence>

linphone-message : cb_sndunkrequest (id=25)
linphone-message : eXosip: timer sec:0 usec:100000!
linphone-message : eXosip: timer sec:0 usec:100000!
linphone-message : eXosip: timer sec:0 usec:100000!
linphone-message : eXosip: timer sec:0 usec:100000!
linphone-message : eXosip: timer sec:0 usec:100000!
linphone-message : Received message:
SIP/2.0 415 Unsupported media type
Via: SIP/2.0/UDP 10.7.143.5:5060;rport=1046;branch=z9hG4bK1334123229;received=203.199.255.2
From: <sip:address@hidden>;tag=1483059897
To: <sip:address@hidden>;tag=9c9b00246f8e107315fda5b1f99323d3-757f
Call-ID: 1708608442
CSeq: 31 PUBLISH
Server: Kamailio (1.5.1-tls (i386/linux))
Content-Length: 0

Thanks and Regards,
HarishKumar.V

On Thu, Sep 10, 2009 at 5:51 PM, Harishkumar V <address@hidden> wrote:
Hi,

thanks,

after debugging i found small portion of sloppy code in detecting status. after changing, now its okay.

but that too, user have to click online users or all users drop down to get the latest change of status.

I have one doubt, why offline and closed event are not sent.

Thanks and Regards,
HarishKumar.V

On Thu, Sep 10, 2009 at 12:26 PM, Petr Pisar <address@hidden> wrote:
On Thu, Sep 10, 2009 at 11:48:15AM +0530, Harishkumar V wrote:
>
> I am using linphone-3.1.2. I have registered in sip.antisip.com.
>
> I have logged in my linphone. But my friend is not able to see my presence
> (online) status. He also registered in sip.antiisp.com and he is logged in
> his linphone. He added my sip uri in his address book.
>
As I remember the XML document used to transmit presence data is broken in
Linphone. It's not well-formed XML. Thus there is problem with
interoperability definitely.

However Linphone itself accepts such broken message and changes the status
sometimes (why?). There is some race probably.

(I got these experiences when testing older Linphone version. Maybe something
has changed thereafter.)

-- Petr


_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers




--
Thanks and Regards,
Harish Kumar. V



--
Thanks and Regards,
Harish Kumar. V

reply via email to

[Prev in Thread] Current Thread [Next in Thread]