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? 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.
-- juha