[Serusers] loose_route

Juha Heinanen jh at tutpro.com
Tue Sep 30 08:06:16 CEST 2003


Dovid writes:

 > My understanding is that loose_route() checks for a Route header field. The
 > standard cfg entry will then relay the SIP request.
 > Let's take the following scenario. I have a PSTN gateway which listens on
 > port 5060 and accepts to that port only from my SIP proxy. Normally the
 > proxy takes care of authentication and authorization and if approved,
 > forwards to the gateway. What if someone were to send an INVITE to my proxy
 > with a header: Route: <sip:phone-number at pstn-gateway>? Would the proxy
 > forward it, and the gateway then set up the call?

i call loose_route() in the beginning of ser.cfg before the user is
authenticated and approved for pstn access.

-- juha




More information about the sr-users mailing list