On 06/16/2010 04:27 AM, IƱaki Baz Castillo wrote:
2010/6/16 Alex Balashovabalashov@evaristesys.com:
Also, CSeq is not being incremented.
Why do you want CSeq being incremented by the proxy? Note that the UAS still knows nothing about the request until it receives the first INVITE (with credentials) from he proxy.
Am I misreading 3261 Section 22.3?
If a proxy were to resubmit a request adding a Proxy-Authorization header field value, it would need to increment the CSeq in the new request. However, this would cause the UAC that submitted the original request to discard a response from the UAS, as the CSeq value would be different.
Since the proxy is the authentication actor, I assumed this is how it should be done. On the other hand, if the purpose of the UAC module is to "spoof" a challenge response as if it really came from the UAC, I suppose this is not appropriate.
Either way, regardless of CSeq, the Proxy-Authorization header is not being added to the resent request. Unless I am doing something wrong, I believe uac_auth() doesn't work.