< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Pidf class


I'm looking into the Jitsi log (logged in with mateus2@xxxxxxxxxxxxxx) and I saw that it sends a SUBSCRIBE to presence server (with TO as mateus1@xxxxxxxxxxxxxx).
And I saw at resiprocate (logged in with mateus1@xxxxxxxxxxxxxx) log that it sends a PUBLISH to presence server.

But in Jitsi log I didn't saw any NOTIFY. So maybe the presence server is not sending the messages as it should. How can I debug that?

2016-07-02 10:03 GMT-03:00 Mateus Bellomo <mateusbellomo@xxxxxxxxx>:
> Can you see an easy way to make it work using the existing Pidf class?

I'm trying to do that but it's not working so I thought it was because it's deprecated. I already saw and example at Jitsi log of a PUBLISH message and I copied exactly the same (changing the user parameters) at resiprocate just to test and Jitsi still couldn't get the presence from published from resiprocate.

The strange thing is that I also logged at Lumicall and when I do that I could send a message from Jitsi to resiprocate so Lumicall is publishing it's status to Jitsi (even tough Jitsi still shows the contact as offline but maybe there is a bug at Jitsi).

Those are the PUBLISH messages I've created so far at resiprocate: [1] and [2]


> Can you look through the commit history on that file to see who added
the deprecated annotation and post a link to the commit?

The SHA1 ID is c29ea4f3db318367e32dc251823d9116b5e89afe [3]

[1] http://paste.debian.net/775465/
[2] http://paste.debian.net/775467/
[3] https://github.com/resiprocate/resiprocate/commit/c29ea4f3db318367e32dc251823d9116b5e89afe

2016-07-02 3:55 GMT-03:00 Daniel Pocock <daniel@xxxxxxxxxx>:


On 01/07/16 21:26, Mateus Bellomo wrote:
> Hello,
>
> To send a PUBLISH message I was looking at [1] as an example. But it
> seems that the xml generated by pidf [2] it's not completed, comparing
> with the one generated by Jitsi. Looking at [3] it says that Pidf is
> deprecated. So is there another option to use instead of Pidf?
>


Can you see an easy way to make it work using the existing Pidf class?

Can you look through the commit history on that file to see who added
the deprecated annotation and post a link to the commit?


> [1]
> https://github.com/resiprocate/resiprocate/blob/master/resip/dum/test/basicPublication.cxx
> [2]
> https://github.com/resiprocate/resiprocate/blob/master/resip/dum/test/basicPublication.cxx#L117
> [3]
> https://github.com/resiprocate/resiprocate/blob/master/resip/stack/Pidf.hxx
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel