[OpenSIPS-Devel] [OpenSIPS/opensips] c7066f: Fix validation of the send_sock in t_uac().

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Oct 9 12:34:35 CEST 2014


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c7066fed2fb1c0fc707276ace9077d4e46e39042
      https://github.com/OpenSIPS/opensips/commit/c7066fed2fb1c0fc707276ace9077d4e46e39042
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-09 (Thu, 09 Oct 2014)

  Changed paths:
    M modules/tm/uac.c

  Log Message:
  -----------
  Fix validation of the send_sock in t_uac().

If a send_sock is already provided, no need to do socket discovery again. We need just the protocol (from mk_proxy) in order to validate (or not) the already given send_sock. Do socket discovery only if there no send_sock given or the protocol does not match.

(cherry picked from commit c95ddd8f282c8809a0fae233bdb57b4dddb3c628)




More information about the Devel mailing list