Auhorization username can differ from userpart
Status: Beta
Brought to you by:
yohannmartineau
On authorizing a SIP REGISTER request, the authentication-username used can be different from the sip userpart.
This is missing from the code.
Attached, a patch that allows for the configuration of a separate authentication-username that defaults to the userpart.
Please review and apply.
Hope this helps,
Tom.
I know it's a detail, but could you replace tabs by spaces in your patch?
In peers.xml, could you use:
<!-- <authorizationUsername></authorizationUsername> -->
instead of
<!-- authorization-username></authorization-username -->
and authorizationUsername in peers.xsd
and in Config.java, could you use the same variable name as in peers.xml, i.e. authorizationUsername instead of authId?
Thanks
2nd version
Done.
Strange. I have the editor on "replace tabs with spaces" but still they creep in. Go figure.
Amazing btw. how inconsistent one can be :)
Hope this helps,
Tom.