summaryrefslogtreecommitdiff
path: root/res/res_pjsip/pjsip_outbound_auth.c
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2015-01-17 00:35:59 +0000
committerKevin Harwell <kharwell@digium.com>2015-01-17 00:35:59 +0000
commit07e2a48ab12580ef4a6279fdf2edbcaa4a038efa (patch)
treefb2594762a9860994f0d3eec02e4b3f5417d500a /res/res_pjsip/pjsip_outbound_auth.c
parent1111944afb7b0c6a03643bc5a74af835bb5a64ef (diff)
REVERTING res_pjsip: make it unloadable
Due to the original patch causing memory corruptions the patch is being removed until the problem can be resolved. ........ Merged revisions 430734 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip/pjsip_outbound_auth.c')
-rw-r--r--res/res_pjsip/pjsip_outbound_auth.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/res/res_pjsip/pjsip_outbound_auth.c b/res/res_pjsip/pjsip_outbound_auth.c
index 1f754227a..28ca3ec8a 100644
--- a/res/res_pjsip/pjsip_outbound_auth.c
+++ b/res/res_pjsip/pjsip_outbound_auth.c
@@ -91,11 +91,6 @@ int ast_sip_dialog_setup_outbound_authentication(pjsip_dialog *dlg, const struct
return 0;
}
-int internal_sip_initialize_outbound_authentication(void) {
- return internal_sip_register_service(&outbound_auth_mod);
-}
-
-
-void internal_sip_destroy_outbound_authentication(void) {
- internal_sip_unregister_service(&outbound_auth_mod);
+int ast_sip_initialize_outbound_authentication(void) {
+ return ast_sip_register_service(&outbound_auth_mod);
}