[sr-dev] topoh limitation: REGISTER

Klaus Darilion klaus.mailinglists at pernau.at
Fri Dec 4 12:14:23 CET 2009


Hi!

I'm just testing topoh module and it does not protect relayed REGISTER 
requests - why?

I found this piece of code which looks guilty:

int th_skip_msg(sip_msg_t *msg)
{
          if((get_cseq(msg)->method_id)&(METHOD_REGISTER|METHOD_PUBLISH))
                return 1;
         return 0;
}


But why? IMO it is a valid use case, e.g. in our office all SIP requests 
ae sent via an outbound proxy before entering Internet. This 
outboundproxy does topology hiding - but currently not for REGISTER :-(

regards
klaus



More information about the sr-dev mailing list