diff options
author | Kevin Harwell <kharwell@digium.com> | 2015-01-17 00:35:59 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2015-01-17 00:35:59 +0000 |
commit | 07e2a48ab12580ef4a6279fdf2edbcaa4a038efa (patch) | |
tree | fb2594762a9860994f0d3eec02e4b3f5417d500a /res/res_pjsip/location.c | |
parent | 1111944afb7b0c6a03643bc5a74af835bb5a64ef (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/location.c')
-rw-r--r-- | res/res_pjsip/location.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/res/res_pjsip/location.c b/res/res_pjsip/location.c index 73ffdca0e..f36235161 100644 --- a/res/res_pjsip/location.c +++ b/res/res_pjsip/location.c @@ -870,7 +870,7 @@ int ast_sip_initialize_sorcery_location(void) ast_sorcery_object_field_register(sorcery, "aor", "outbound_proxy", "", OPT_STRINGFIELD_T, 0, STRFLDSET(struct ast_sip_aor, outbound_proxy)); ast_sorcery_object_field_register(sorcery, "aor", "support_path", "no", OPT_BOOL_T, 1, FLDSET(struct ast_sip_aor, support_path)); - internal_sip_register_endpoint_formatter(&endpoint_aor_formatter); + ast_sip_register_endpoint_formatter(&endpoint_aor_formatter); contact_formatter = ao2_alloc(sizeof(struct ast_sip_cli_formatter_entry), NULL); if (!contact_formatter) { @@ -911,8 +911,6 @@ int ast_sip_destroy_sorcery_location(void) ast_sip_unregister_cli_formatter(contact_formatter); ast_sip_unregister_cli_formatter(aor_formatter); - internal_sip_unregister_endpoint_formatter(&endpoint_aor_formatter); - return 0; } |