[OpenSIPS-Devel] [OpenSIPS/opensips] dafef2: Fix the fixup function for is_contact_registered()

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Dec 15 06:21:09 EST 2016


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dafef2586ffef4ed93d9f8f50501bf5f27c90f93
      https://github.com/OpenSIPS/opensips/commit/dafef2586ffef4ed93d9f8f50501bf5f27c90f93
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-12-15 (Thu, 15 Dec 2016)

  Changed paths:
    M modules/registrar/lookup.c

  Log Message:
  -----------
  Fix the fixup function for is_contact_registered()

The fixup function is translating the "contact" and "callid" parameters to pvar type, but the is_contact_registered() function was handling them as gp_param type. The fix is to handle the parameters as pvar type in is_contact_registered().

Reported by Nick Altmann

(cherry picked from commit 3187c516e5ddd23fb6e5030b2c9b869e870da3c0)


  Commit: 64fd7f6f290036b8cfa0a1d227b3b99f22b72491
      https://github.com/OpenSIPS/opensips/commit/64fd7f6f290036b8cfa0a1d227b3b99f22b72491
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-12-15 (Thu, 15 Dec 2016)

  Changed paths:
    M modules/registrar/lookup.c

  Log Message:
  -----------
  Shut GCC up on some false warning on unset var


Compare: https://github.com/OpenSIPS/opensips/compare/29a048ac2cfd...64fd7f6f2900


More information about the Devel mailing list