[Users] Re: missing record-route when using uac_auth()
bogdan at voice-system.ro
Thu Mar 23 19:18:04 CET 2006
Günther Starnberger wrote:
>>in the flow below, the problem is that the 407 from the remote party
>>must not be fwded to the client but processed by openser : got via
>>failure route and applied uac_auth().
>basically thats what i already do in failure_route.
>the incoming INVITEs from the client are handled in route. before i
>do any relaying i have a call to consume_credentials() which should
>remove the credentials of the client. this works when the INVITE is
>relayed for the first time. but when uac_auth() comes into play it
>sends the first INVITE to the remote end with the credentials of the
>client (instead of the ones which are configured).
>at the end of the dump you see the "200 Ok" packets from the
>remote-end. there are no replies in the dump as no record-route is
>inserted for some reason - the client therefore sends the replies
>directly to the remote endpoint.
yes, that's problem - for some hidden reasons, that "User-Agent: (Very
nice Sip Registrar Server)" does not mirror the RR set in the 200 reply,
which is violation of the RFC. The bug is in that UA and you should
report it to them.
More information about the sr-users