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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8da3c0d1fe5aca4dd7804fcc308a4ac0aba1ade2
      https://github.com/OpenSIPS/opensips/commit/8da3c0d1fe5aca4dd7804fcc308a4ac0aba1ade2
  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