AW: [Users] Interaction Presence Agent - Presence User Agent

Schumann Sebastian Sebastian.Schumann at t-com.sk
Mon Jun 11 16:21:35 CEST 2007


Dear Anca, Dear all
 
After several trials I didn't come to a conclusion how to use the EXPIRES -1 with PUA_MI.
 
All the time I enter this value to my FIFO file, the answer is pua_mi:mia_pua_publish: invalid expires parameter.
 
This seems also logical to me, as source code of mi_func.c leads there on lines 97-102 (the expires is smaller than 0).
 
Is there a support for PUA, that is not implemented in PUA_MI? As I thought PUa cannot be used standalone is there something I did not pay attention to? Any hints?
 
Thanks!
 
Regards Sebastian

________________________________

Von: Anca-Maria Vamanu [mailto:anca at voice-system.ro]
Gesendet: Fr 5/25/2007 11:13
An: Schumann Sebastian
Cc: users at openser.org
Betreff: Re: [Users] Interaction Presence Agent - Presence User Agent



Hello,

There is already a means to do that but in the trunk version. You should
just give the command with expires -1 and the pua module will refresh
Publish until you give a command with expires 0.

regards,

Anca

Schumann Sebastian wrote:

> Dear all,
>
> 
>
> I have a question for understanding: I have implemented one OpenSER as
> Registrar and one OpenSER as Presence Agent plus XCAP Server 1.0.0.
> This is all working so far with newest SVN Release (Big Thanks to
> Ovidiu and Anca for the hint) of OpenSER.
>
> 
>
> Now I want to deploy a Web-Front-End for user interaction with the
> Presence Core, because not all clients used are SIMPLE capable. User
> of non-capable devices should be able to just login and change their
> presence state. They do not necessarily have to be registered at the
> registrar, why PUA+ pua_usrloc on registrar side is no choice.
>
> 
>
> I was thinking about another OpenSER deployed as PUA plus the pua_mi
> module for a solution. It gets commands from Web-Frontend via PHP,
> forwarded to the FIFO with pua_mi module. The problem I have now is
> that the messages are sent just once. Means a user changes his
> presence state, PUA sends a PUBLISH to PA but after the expiry the
> user appears to be offline.
>
> 
>
> Is there any possiblitiy to let the PUA send messages constantly, when
> the user selects online - means all the time until offline is
> selected? I was thinking about many possiblities (cronjob or
> shellscript running all the time during online time and sending data
> to FIFO) but they are more or less just work-arounds.
>
> 
>
> Best regards
>
> Sebastian
>
> 
>
> **Sebastian Schumann**
>
> Diploma Student Architecture and Design Department
>
> 
>
> Slovak Telekom, a. s.
>
> T-Com, Operations Unit
>
> Production and Service Division
>
> Innovations and Enterprise Solution Subunit
>
> 
>
> Address: Namestie Slobody 6, 817 62 Bratislava, Slovakia
>
> Office: Room 232, Jarabinkova 1, 821 09 Bratislava, Slovakia
>
> 
>
> +421 910 643010 (mobile)
>
> 
>
> sebastian.schumann at t-com.sk <mailto:sebastian.schumann at t-com.sk>
>
> http://www.t-com.sk
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
> 
>







More information about the Users mailing list