[OpenSIPS-Devel] [OpenSIPS/opensips] a5a4bb: mid_registrar: Add the "o" save() flag

Liviu Chircu noreply at github.com
Fri Nov 8 07:44:10 EST 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a5a4bbaa0f8f3e996a97ddc30d413bbc273a931d
      https://github.com/OpenSIPS/opensips/commit/a5a4bbaa0f8f3e996a97ddc30d413bbc273a931d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M lib/reg/config.h
    M modules/mid_registrar/doc/mid_registrar_admin.xml
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/mid_registrar/save.h

  Log Message:
  -----------
  mid_registrar: Add the "o" save() flag

The "o" flag will cause 200 OK replies to REGISTER requests to "Only
include request contacts".  Technically speaking, this is against RFC
3261, ยง 10.3, (8), which says:

      8. The registrar returns a 200 (OK) response.  The response MUST
         contain Contact header field values enumerating all current
         bindings.  Each Contact value MUST feature an "expires"
         parameter indicating its expiration interval chosen by the
         registrar.  The response SHOULD include a Date header field.





More information about the Devel mailing list