[asterisk-commits] res pjsip: Register pjsip transport management not externall... (asterisk[certified/13.21])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 18 14:48:11 CDT 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/9004 )

Change subject: res_pjsip: Register pjsip_transport_management not externally but internally.
......................................................................

res_pjsip: Register pjsip_transport_management not externally but internally.

The module (res_)pjsip_transport_management got moved into res_pjsip. It is no
longer an independent/external module with (un)load_module and therefore has to
register just internally with res_pjsip.

ASTERISK-27860

Change-Id: Icd0413be7d2e98b92f51e6d6c353f2570bb4be95
---
M res/res_pjsip/pjsip_transport_management.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Richard Mudgett: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/res/res_pjsip/pjsip_transport_management.c b/res/res_pjsip/pjsip_transport_management.c
index efda37d..1404b6e 100644
--- a/res/res_pjsip/pjsip_transport_management.c
+++ b/res/res_pjsip/pjsip_transport_management.c
@@ -342,7 +342,7 @@
 		return AST_MODULE_LOAD_DECLINE;
 	}
 
-	ast_sip_register_service(&idle_monitor_module);
+	internal_sip_register_service(&idle_monitor_module);
 
 	ast_sip_transport_state_register(&monitored_transport_reg);
 
@@ -367,7 +367,7 @@
 
 	ast_sip_transport_state_unregister(&monitored_transport_reg);
 
-	ast_sip_unregister_service(&idle_monitor_module);
+	internal_sip_unregister_service(&idle_monitor_module);
 
 	ast_sched_context_destroy(sched);
 	sched = NULL;

-- 
To view, visit https://gerrit.asterisk.org/9004
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: certified/13.21
Gerrit-MessageType: merged
Gerrit-Change-Id: Icd0413be7d2e98b92f51e6d6c353f2570bb4be95
Gerrit-Change-Number: 9004
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20180518/17ca6c3a/attachment.html>


More information about the asterisk-commits mailing list