[Devel] handle_publish question

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Sep 21 12:56:38 CEST 2006


Hello,

the old presence module PA is deprecated. A complete new version is 
being developed. I can send you in terms of days a version for testing 
purposes -- we want to have it pretty much stable before pushing it to CVS.

There are other people interested in testing the new presence module. It 
is very likely that we will make a tarball with it and spread it to 
those willing to test, to get feedback and fix discovered 
misfunctionalities. There was lot of new development and the lack of 
phones with presence support made the testing difficult. Hopefully in 
about one week it will be on CVS.

Cheers,
Daniel



On 09/21/06 11:10, Power wrote:
> Hello,
>
> I'm trying to use the PA module.
> Here is the part of my openser.cfg: 
>
> if (method=="REGISTER") {
>    save("location");
>          exit; 
>       }; 
>        
>           if (!lookup("location")) { 
>                  sl_send_reply("404", "Not Found"); 
>              exit; 
>       }; 
>
>        
>       if( method=="SUBSCRIBE" ) 
>       { 
>           if(!t_newtran()) 
>           { 
>          sl_reply_error(); 
>          exit; 
>           }; 
>        
>           if(!handle_subscription("registrar")) 
>           { 
>          sl_reply_error(); 
>          exit; 
>           } 
>           exit; 
>       }; 
>        
>       if( method=="PUBLISH" ) 
>       { 
>           if(!t_newtran()) 
>           { 
>          sl_reply_error(); 
>          exit; 
>           }; 
>           
>
>           if(!handle_publish("registrar")) 
>           { 
>          sl_reply_error(); 
>          exit; 
>           } 
>           exit; 
>       }; 
>
>
>
> Everything seems to work fine except one thing - while handling publish request the PA
> seems to discard presence info from publish request and send 
> NOTIFY to destination client (I use X-Lite) containing the default presence data, I mean 
> it always reports that presence status is 'closed'.
>
>   



More information about the Devel mailing list