Javier,

with or without the PA, all the messages will go via your OpenSER...

if you just want to "
when A user add B user, send a SUBSCRIBER to OpenSER,
I need that the OpenSER forward this SUBSCRIBER to B user.
"
you do not need the PA.

as I told you before, just to:
if (is_method("SUBSCRIBE")) {
   if (lookup("location")) {
       t_relay();
   } else {
      sl_send_reply("404","Not Found");
   }
   exit;
}

regards,
bogdan

Javier Ramirez wrote:

Hi Bogdan,
I like use PA module for presence,
the users talk only with the PA, the users use OUTBOUND proxy.
when A user add B user, send a SUBSCRIBER to OpenSER,
I need that the OpenSER forward this SUBSCRIBER to B user.
when I coment the "break;" the SUBSCRIBER message is forward to B user.
if I don“t coment the break, the SUBSCRIBER end in OpenSER.
if (method=="SUBSCRIBE") {
     if (!t_newtran()) {
         sl_reply_error();
    };
    handle_subscription("registrar");
 # break;
};
best Regards
Javier Ramirez



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

Reply via email to