[Serusers] Loose routing question
Klaus Darilion
klaus.mailinglists at pernau.at
Tue May 3 11:04:59 CEST 2005
Juha Heinanen wrote:
> Klaus Darilion writes:
>
> > If there is not tog-tag, I will reject the request.
>
> what is the benefit of rejecting the request instead of calling
> loose_route() and then doing your normal (out-of-dialog) checks to the
> request?
What would be a normal (out-of-dialog) check?
regards,
klaus
shorty, I'm doing this:
if (loose_route) {
if to-tag {
# in-dialog, faked messages must
# be handled by next hop
t_relay
} else {
# somebody tries to route via my proxy
if method==CANCEL {
# that's fine
t_relay()
} else {
# don't use my proxy to relay
sl_send_reply(...)
}
}
}
More information about the sr-users
mailing list