[OpenSIPS/opensips] 2091c4: Revert the commits for RPC-zing the t_uac_dlg

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] 2091c4: Revert the commits for RPC-zing the t_uac_dlg

Răzvan Crainea-3
  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2091c4cf54b89b5f08d2293454ff5fa023286b61
      https://github.com/OpenSIPS/opensips/commit/2091c4cf54b89b5f08d2293454ff5fa023286b61
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M modules/tm/mi.c

  Log Message:
  -----------
  Revert the commits for RPC-zing the t_uac_dlg

Reverted commits:
7df5d5e9ccd639a9f6035e64dadbc1e6b8a71758
8883a7c6caac5b4bed228381e2d64f53d7364b81
d0a043e89b2cdde1131a336964c0ade079269b4c
The RPC-zing will be added internally to t_uac() function, transparent for the code using it.

(cherry picked from commit e3a1b7c9bc899e6cf75cd3dd42f541d84eb505f5)


  Commit: 146a2501ab0a63e2e757cdb26faa591167a9ed89
      https://github.com/OpenSIPS/opensips/commit/146a2501ab0a63e2e757cdb26faa591167a9ed89
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M modules/tm/mi.c

  Log Message:
  -----------
  Fixed some optional params for t_uac_dlg

Side effect of the previos reverting

(cherry picked from commit b7b9151178caf8c9776b824832034d1e13cdde21)


  Commit: 5d73a60cead9469fb4496b7319bdc37c41fe0af0
      https://github.com/OpenSIPS/opensips/commit/5d73a60cead9469fb4496b7319bdc37c41fe0af0
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M modules/tm/uac.c

  Log Message:
  -----------
  Re-implement t_uac() to do RPC if local_route cannot be locally run

IF triggered from MI or non-SIP processes, the t_uac() cannot run local route (as such procs do not have the script anymore).
Instead of various fixes in different parts of code / modules, let's address the problem internally in t_uac() - if needed and script is not available, run local route via RPC (while doing busy waiting)

(cherry picked from commit 234a93e49c3b8e6264b65d48b3d622d126e42900)


  Commit: a3f56bed113a934a89edaeb39b32df88540585bd
      https://github.com/OpenSIPS/opensips/commit/a3f56bed113a934a89edaeb39b32df88540585bd
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  Reverted d13f3eb61764a9246542f37b72482f2b27a0aaf2

Running local route via RPC is now supported intenally by t_uac()

(cherry picked from commit 620fe1025b64d641b899cd8f309852dada7e35f0)


  Commit: 7acc72a0ed6eb86d3bdae456b3ef205d15a4d0e1
      https://github.com/OpenSIPS/opensips/commit/7acc72a0ed6eb86d3bdae456b3ef205d15a4d0e1
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  Revert "dialog: send dlg command using rpc"

This reverts commit ef9de0173f66727488e75d11e341d6b90b8fcf9a.
This is not necessary as the RPC for local route is now done internally by t_uac()

(cherry picked from commit c61278bf0ea09523aee95923cbbcc6d9fcdf9530)


  Commit: 55d650ba6013d1f1d0777f4ba646f9cefdbc2c77
      https://github.com/OpenSIPS/opensips/commit/55d650ba6013d1f1d0777f4ba646f9cefdbc2c77
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M modules/tm/uac.c

  Log Message:
  -----------
  Fix the returning if local route does not exist while doing RPC

(cherry picked from commit 2ba271c6d07f8001dbcc468d8fe7aab6ca84b2e5)


Compare: https://github.com/OpenSIPS/opensips/compare/17509ea47129...55d650ba6013

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel