Andy,
The point is there aren't any credentials.
Anyway, thanks for the ideas.
---greg
-----Original Message-----
From: Andy Blen [mailto:andy.blen@iptel.org]
Sent: Friday, June 06, 2003 11:11 AM
To: Andy Blen; Greg Fausak; 'Jan Janak'
Cc: serusers(a)lists.iptel.org; sip(a)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.
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org