there is also problem with registrar save(). when edge proxy forwards
register request to registrar, it adds path header. if register request
supports gruu, path header should not contain flow token, but if it does
not, i get error
Apr 25 14:38:32 wheezy1 /usr/sbin/sip-proxy[3637]: WARNING: registrar [save.c:917]:
Outbound used by UAC but not supported by edge proxy
i would like to change the test so that warning comes only if gruu is
not supported:
if (use_ob == 0) {
if ((get_supported(_m) & F_OPTION_TAG_OUTBOUND)
&& contact->reg_id) {
if (!(get_supported(_m) & F_OPTION_TAG_GRUU)) {
LM_WARN("Outbound used by UAC but not supported by edge proxy\n");
rerrno = R_OB_UNSUP_EDGE;
goto error;
}
} else {
/* ignore ;reg-id parameter */
use_regid = 0;
}
}
-- juha