Hi,
it's very difficult to formulate an opinion without a network trace.
Please post it somewhere in order to take a look.
regards,
bogadn
Günther Starnberger wrote:
It's in the same dump as the RR problem:
Until I get the 401 from the remote-endpoint everything works as
expected (i.e. the INVITE is fwd'ed to the remote-end without
credentials as I call consume_credentials() before relaying).
But then things start to look strange:
- OpenSER sends a 407 to the client although the INVITE already
contained the credentials (as there was a 407 at the very beginning).
- After the client sends the INVITE with the credentials for a second
time OpenSER relays them with the credentials from the client to the
remote-endpoint. But the credentials should have been removed by
consume_credentials() and the uac_auth() credentials should be used
instead.
- After the remote-end replies with 401 OpenSER sends the INVITE again
but this time with the right credentials which are configured for the
UAC module.
So this problem doesn't prevent the call from working, but looks
somehow strange nevertheless. E.g. Why does OpenSER relay the
credentials of the client although consume_credentials() is called. Or
why does OpenSER send a 407 although the previous INVITE was already
authenticated.