[Serusers] Forwarding to another number if busy

Greg Fausak greg at august.net
Fri Jun 6 20:51:39 CEST 2003


Andy,

The point is there aren't any credentials.

Anyway, thanks for the ideas.

---greg


> -----Original Message-----
> From: Andy Blen [mailto:andy.blen at iptel.org] 
> Sent: Friday, June 06, 2003 11:11 AM
> To: Andy Blen; Greg Fausak; 'Jan Janak'
> Cc: serusers at lists.iptel.org; sip at august.net
> Subject: RE: [Serusers] Forwarding to another number if busy
> 
> 
> At 05:47 PM 6/6/2003, Andy Blen wrote:
> >At 05:14 PM 6/6/2003, Greg Fausak wrote:
> >>I do not know why reply_route seems to call the
> >> main route block again.  I do know that if I comment out
> >> the authentication code in the main route block my forwarding
> >> works.  If I do not comment it out, then the forwarding
> >> fails with an 'Unauthorized' directed at the pstn gateway.
> >
> >Presumably, you rewrite the URI with a URI which results in
> >a loop over loopback interface. That causes a request to be
> >forwarded to the server again as a new transaction, which is
> >subject to authentication checks again. You can verify it by looking
> >at via_cnt in Warning header field of replies or by watching
> >local interface.  There are different ways of dealing with it
> >-- not challenging request coming from itself, forwarding to
> >gateway directly (as opposed through itself), for example.
> 
> one more possibility is not to consume credentials if next hop
> is youself.
> 
> a. 
> 




More information about the sr-users mailing list