Package: asterisk / 1:13.14.1~dfsg-2+deb9u4

pjsip_unresolved_symbol.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Fix unresolved symbol ast_sip_session_unregister_supplement in PJSIP
Origin: other, https://issues.asterisk.org/jira/secure/attachment/54695/ast.diff
Bug: https://issues.asterisk.org/jira/browse/ASTERISK-26518

--- a/res/res_pjsip/pjsip_message_ip_updater.c
+++ b/res/res_pjsip/pjsip_message_ip_updater.c
@@ -277,15 +277,15 @@
 {
 	ast_sip_unregister_service(&multihomed_module);
 	ast_sip_unregister_supplement(&multihomed_supplement);
-	ast_sip_session_unregister_supplement(&multihomed_session_supplement);
+	//ast_sip_session_unregister_supplement(&multihomed_session_supplement);
 }
 
 int ast_res_pjsip_init_message_ip_updater(void)
 {
-	if (ast_sip_session_register_supplement(&multihomed_session_supplement)) {
+	/*if (ast_sip_session_register_supplement(&multihomed_session_supplement)) {
 		ast_log(LOG_ERROR, "Could not register multihomed session supplement for outgoing requests\n");
 		return -1;
-	}
+	}*/
 
 	if (ast_sip_register_supplement(&multihomed_supplement)) {
 		ast_log(LOG_ERROR, "Could not register multihomed supplement for outgoing requests\n");