[OpenSIPS-Devel] [OpenSIPS/opensips] 20aea6: Add support for SIP URIs without user part in 'avp...

Andrey Vorobiev andrey.vorobiev at mind.com
Thu Jun 16 16:04:35 CEST 2016


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 20aea65546cae81ec7a0eaab14c7b17f56c625ea
      https://github.com/OpenSIPS/opensips/commit/20aea65546cae81ec7a0eaab14c7b17f56c625ea
  Author: Andrey Vorobiev <andrey.vorobiev at mind.com>
  Date:   2016-06-16 (Thu, 16 Jun 2016)

  Changed paths:
    M modules/avpops/avpops_impl.c

  Log Message:
  -----------
  Add support for SIP URIs without user part in 'avpops' module.

This module provides a set of avp_db_xxx functions which take pseudo
var and flag as first argument. Flag can be one of username, domain,
uri or uuid. Previosly avp_db_xxx functions used to return an error if
flag has been set to username, domain or uri and specifed pseudo var
did not contain username and host after parsing as SIP URI. This
behaviour seems to be strange because if flag is being set to
domain/username and sip URI contains domain/username we can still
load/store/delete this variable.

(cherry picked from commit 459f2e90ed277a0371a3325b27038213c5083e8c)




More information about the Devel mailing list