[Serusers] Some questions on "loose_route"

Jan Janak jan at iptel.org
Sat Jan 3 17:51:08 CET 2004


On 03-01 10:47, Greg Fausak wrote:
> 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?

  Yes, it is recommended somewhere in the RFC.

> >  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()?

  No, there is no checking.

    Jan.




More information about the sr-users mailing list