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
13.23
Alexander Traud 8 years ago
parent 0afe108dd6
commit 99b24dc63b

@ -342,7 +342,7 @@ int ast_sip_initialize_transport_management(void)
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 @@ void ast_sip_destroy_transport_management(void)
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;

Loading…
Cancel
Save