[sr-dev] double record-routing also at outbound edge

Peter Dunkley peter.dunkley at crocodile-rcs.com
Thu Apr 25 14:16:47 CEST 2013


Are GRUU and outbound really mutually exclusive in this way?


On 25/04/13 13:13, Juha Heinanen wrote:
> 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
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev




More information about the sr-dev mailing list