[Serusers] Forwarding to another number if busy
Andy Blen
andy.blen at iptel.org
Fri Jun 6 18:10:34 CEST 2003
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