Hi Jamey!
Meanwhile a student of mine extended the pa module as part of his master thesis and SUBSCRIBE/NOTIFY works with the RTC-API - it was not difficult.
As soon as I get the code from the student I will post it somewhere, together with the thesis - which is german :-(
regards, klaus
Jamey Hicks wrote:
Klaus Darilion wrote:
Hi Jamey!
Thanks for the information. One of my students here at the university tries to implement a system where you can watch mobile user running around and call them by clicking on the moving point at the map - all with SIP. Currently we produce the location information at the mobile client (ipaq + xlite) by reading the GPS data from a bluetooth GPS receiver.
On the other side, we would like to have a Windows based client, which uses the RTC API. So the idea was to include the GPS information into the presence by using the "user-provided presence info" (like "x=123;y=456" instead of "i'm at lunch and come back at 2:30"). Nevertheless, therefore it would be necessary that the RTC API accepts the notficiations from ser.
The RTC api sends its notifieys as application/xpidf+xml, not as application/cpim-pidf+xml. Is this the same format with a different name? I tried to find the definition of them, but I found several outdated drafts. I took a closer look at the drafts from the impp working group, but for example i couldn't find the definition of the <presentitiy> tag. Can you point me to a document which describes the format used by the RTC. Btw: which format uses the sipc or other commerical SIP-based IM applications?
I also found no description of adding the exact geographical location into the presence information in a more generic way (not the workaround described above). Have you ever thought of this (as the columns are already defined in the database tables)? E.g. it could be a dedicated tag or an attribute in the location tag.
Hi Klaus,
I was just checking through my mail and saw this note again. I do not know how extensible xpidf is, but you including location in the user-provided presence info field should work. I have not had any luck with ser handling a subscribe from a microsoft RTC client, but I'm sure someone with some time and a packet tracer could get that working.
sipc and commercial SIP-based IM applications use application/cpim-pidf+xml. This format is still undergoing revision in the SIMPLE working group.
The SER PA includes location information for each registered contact in a separate tuple. I wrote this up here: http://pic.internet2.edu/docs/pals-ua-reqs.pdf
Jamey