Juha Heinanen wrote:
Greg Fausak writes:
route
{
if(loose_route()) { t_relay(); break; };
if(method=="INVITE") { do that deed, set record_route();
t_relay(); };
if(method=="REGISTER") { do that deed; t_relay(); };
# anything that reaches here is an error???
}
I don't use PRACK, COMET, SUBSCRIBE, NOTIFY.
how about ACK and BYE? don't you use them either?
Well, that is my question. Shouldn't all other messages
be record routed if the invite was record routed?
also, i would
suggest doing some checking before calling t_relay() after loose_route
if you care how people are using your proxy or your pstn gw.
Good point. Is there any checking in loose_route()?
---greg
-- juha