Hi,
I would like to override the scheme used for digest authorization
Actually it is using the scheme coming from sip_www_authenticate_t in the sofia_reg_handle_sip_r_challenge function,  ignoring scheme set in xml configuration  

I would like something like:

if(gateway->register_scheme)
    scheme = gateway->register_scheme;

before nua_authenticate(...

I am patching sofia to accept HA1 

Regards

Paulo