You could do something like below to check specifically for that case and override the uac test.

if (sdp_get_line_startswith("$avp(cline)", "c="))
    $var(sdp_contact_host) = $(avp(cline){re.subst,/c=IN IP4 (.+)/\1/});


if (is_in_subnet("$avp(sdp_contact_host)", "192.0.0.0/29"))
    .........