[Asterisk-code-review] res pjsip: Register pjsip transport management not externall... (asterisk[13])

Alexander Traud asteriskteam at digium.com
Thu May 17 00:35:33 CDT 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/9002


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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/02/9002/1

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/9002
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd0413be7d2e98b92f51e6d6c353f2570bb4be95
Gerrit-Change-Number: 9002
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180517/0d5205a1/attachment.html>


More information about the asterisk-code-review mailing list