2012/7/11 Olle E. Johansson <oej(a)edvina.net>et>:
I see that the gruu_enabled() parameter enables gruu
if there's an instance ID in the contact.
The requirement is also that there has to be a supported: gruu
The instance ID is used without GRUU (like in OUTBOUND), so just checking that is not a
good indication
that you have GRUU support in the UA.
" When a UA compliant to this specification generates a REGISTER
request (initial or refresh), it MUST include the Supported header
field in the request. The value of that header field MUST include
"gruu" as one of the option tags. This alerts the registrar for the
domain that the UA supports the GRUU mechanism."
From RFC 5627.
I agree that checking "gruu" option tag in the Supported/Require
header of the REGISTER is needed.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>