[Serusers] Some questions on "loose_route"

Juha Heinanen jh at tutpro.com
Sat Jan 3 17:04:39 CET 2004


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




More information about the sr-users mailing list