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'.

-- 
WBR,
 Power                          mailto:[EMAIL PROTECTED]


_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to