asterisk13: bump to 13.17.1
[feed/telephony.git] / net / asterisk-13.x / patches / 054-pjsip_unresolved_symbol.patch
1 Description: Fix unresolved symbol ast_sip_session_unregister_supplement in PJSIP
2 Origin: other, https://issues.asterisk.org/jira/secure/attachment/54695/ast.diff
3 Bug: https://issues.asterisk.org/jira/browse/ASTERISK-26518
4
5 --- a/res/res_pjsip/pjsip_message_ip_updater.c
6 +++ b/res/res_pjsip/pjsip_message_ip_updater.c
7 @@ -392,15 +392,15 @@ void ast_res_pjsip_cleanup_message_ip_up
8 {
9 ast_sip_unregister_service(&multihomed_module);
10 ast_sip_unregister_supplement(&multihomed_supplement);
11 - ast_sip_session_unregister_supplement(&multihomed_session_supplement);
12 + //ast_sip_session_unregister_supplement(&multihomed_session_supplement);
13 }
14
15 int ast_res_pjsip_init_message_ip_updater(void)
16 {
17 - if (ast_sip_session_register_supplement(&multihomed_session_supplement)) {
18 + /*if (ast_sip_session_register_supplement(&multihomed_session_supplement)) {
19 ast_log(LOG_ERROR, "Could not register multihomed session supplement for outgoing requests\n");
20 return -1;
21 - }
22 + }*/
23
24 if (ast_sip_register_supplement(&multihomed_supplement)) {
25 ast_log(LOG_ERROR, "Could not register multihomed supplement for outgoing requests\n");