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

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Oct 8 11:20:06 CEST 2014

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c95ddd8f282c8809a0fae233bdb57b4dddb3c628
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-08 (Wed, 08 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.

More information about the Devel mailing list