[asterisk-bugs] [JIRA] (ASTERISK-30325) Upgrade Asterisk to bundled pjproject 2.13
Stanislav Abramenkov (JIRA)
noreply at issues.asterisk.org
Thu Nov 24 06:25:51 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stanislav Abramenkov updated ASTERISK-30325:
--------------------------------------------
Attachment: pjproject_2_13-patch1.diff
To test the Patch
1)
Patching process:
Copy patch into asterisk folder.
# patch -p0 <./pjproject_2_13.diff
patching file third-party/versions.mak
patching file third-party/pjproject/pjproject-2.12.1.tar.bz2.md5
patching file third-party/pjproject/pjproject-2.13.tar.bz2.md5
patching file third-party/pjproject/patches/0100-allow_multiple_auth_headers.patch
patching file third-party/pjproject/patches/0000-remove-third-party.patch
2)
Then in file
third-party/pjproject/Makefile.rules
I changed line from
PACKAGE_URL ?= https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/$(PJPROJECT_VERSION)
TO
PACKAGE_URL ?= https://raw.githubusercontent.com/silentindark/third-party/master/pjproject/$(PJPROJECT_VERSION)
3) Configuring
checking for embedded pjproject (may have to download)... configuring
[pjproject] Verifying /tmp/pjproject-2.13.tar.bz2
[pjproject] Verify successful
[pjproject] Verifying /tmp/pjproject-2.13.tar.bz2
[pjproject] Verify successful
[pjproject] Unpacking /tmp/pjproject-2.13.tar.bz2
[pjproject] Applying patches /usr/src/asterisk-18.15.0/third-party/pjproject/patches /usr/src/asterisk-18.15.0/third-party/pjproject/source
[pjproject] Applying user.mak
[pjproject] Rebuilding
[pjproject] Applying custom include file patches/asterisk_malloc_debug.h
[pjproject] Applying custom include file patches/config_site.h
[pjproject] Configuring with --prefix=/opt/pjproject --disable-speex-codec --disable-speex-aec --disable-bcg729 --disable-gsm-codec --disable-ilbc-codec --disable-l16-codec --disable-g722-codec --disable-g7221-codec --disable-opencore-amr --disable-silk --disable-opus --disable-video --disable-v4l2 --disable-sound --disable-ext-sound --disable-sdl --disable-libyuv --disable-ffmpeg --disable-openh264 --disable-ipp --disable-libwebrtc --without-external-pa --without-external-srtp --disable-resample --disable-g711-codec --enable-epoll
checking for bundled pjproject... yes
4) Compiling
[pjproject] Compiling libpj-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjlib-util-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjsua-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjsip-ua-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjsip-simple-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjsip-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjmedia-codec-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjmedia-videodev-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjmedia-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjmedia-audiodev-x86_64-unknown-linux-gnu.a
[pjproject] Compiling libpjnath-x86_64-unknown-linux-gnu.a
[pjproject] Generating symbols
All other modules compiled successfully, I will continue the testing
[CC] res_pjproject.c -> res_pjproject.o
[LD] res_pjproject.o -> res_pjproject.so
[CC] res_pjsip_acl.c -> res_pjsip_acl.o
[LD] res_pjsip_acl.o -> res_pjsip_acl.so
[CC] res_pjsip_authenticator_digest.c -> res_pjsip_authenticator_digest.o
[LD] res_pjsip_authenticator_digest.o -> res_pjsip_authenticator_digest.so
[CC] res_pjsip.c -> res_pjsip.o
[CC] res_pjsip/config_auth.c -> res_pjsip/config_auth.o
[CC] res_pjsip/config_domain_aliases.c -> res_pjsip/config_domain_aliases.o
[CC] res_pjsip/config_global.c -> res_pjsip/config_global.o
[CC] res_pjsip/config_system.c -> res_pjsip/config_system.o
[CC] res_pjsip/config_transport.c -> res_pjsip/config_transport.o
[CC] res_pjsip/location.c -> res_pjsip/location.o
[CC] res_pjsip/pjsip_cli.c -> res_pjsip/pjsip_cli.o
[CC] res_pjsip/pjsip_configuration.c -> res_pjsip/pjsip_configuration.o
[CC] res_pjsip/pjsip_distributor.c -> res_pjsip/pjsip_distributor.o
[CC] res_pjsip/pjsip_global_headers.c -> res_pjsip/pjsip_global_headers.o
[CC] res_pjsip/pjsip_message_filter.c -> res_pjsip/pjsip_message_filter.o
[CC] res_pjsip/pjsip_options.c -> res_pjsip/pjsip_options.o
[CC] res_pjsip/pjsip_resolver.c -> res_pjsip/pjsip_resolver.o
[CC] res_pjsip/pjsip_scheduler.c -> res_pjsip/pjsip_scheduler.o
[CC] res_pjsip/pjsip_session.c -> res_pjsip/pjsip_session.o
[CC] res_pjsip/pjsip_transport_events.c -> res_pjsip/pjsip_transport_events.o
[CC] res_pjsip/pjsip_transport_management.c -> res_pjsip/pjsip_transport_management.o
[CC] res_pjsip/presence_xml.c -> res_pjsip/presence_xml.o
[CC] res_pjsip/security_events.c -> res_pjsip/security_events.o
[LD] res_pjsip.o res_pjsip/config_auth.o res_pjsip/config_domain_aliases.o res_pjsip/config_global.o res_pjsip/config_system.o res_pjsip/config_transport.o res_pjsip/location.o res_pjsip/pjsip_cli.o res_pjsip/pjsip_configuration.o res_pjsip/pjsip_distributor.o res_pjsip/pjsip_global_headers.o res_pjsip/pjsip_message_filter.o res_pjsip/pjsip_options.o res_pjsip/pjsip_resolver.o res_pjsip/pjsip_scheduler.o res_pjsip/pjsip_session.o res_pjsip/pjsip_transport_events.o res_pjsip/pjsip_transport_management.o res_pjsip/presence_xml.o res_pjsip/security_events.o -> res_pjsip.so
[CC] res_pjsip_caller_id.c -> res_pjsip_caller_id.o
[LD] res_pjsip_caller_id.o -> res_pjsip_caller_id.so
[CC] res_pjsip_config_wizard.c -> res_pjsip_config_wizard.o
[LD] res_pjsip_config_wizard.o -> res_pjsip_config_wizard.so
[CC] res_pjsip_dialog_info_body_generator.c -> res_pjsip_dialog_info_body_generator.o
[LD] res_pjsip_dialog_info_body_generator.o -> res_pjsip_dialog_info_body_generator.so
[CC] res_pjsip_diversion.c -> res_pjsip_diversion.o
[LD] res_pjsip_diversion.o -> res_pjsip_diversion.so
[CC] res_pjsip_dlg_options.c -> res_pjsip_dlg_options.o
[LD] res_pjsip_dlg_options.o -> res_pjsip_dlg_options.so
[CC] res_pjsip_dtmf_info.c -> res_pjsip_dtmf_info.o
[LD] res_pjsip_dtmf_info.o -> res_pjsip_dtmf_info.so
[CC] res_pjsip_empty_info.c -> res_pjsip_empty_info.o
[LD] res_pjsip_empty_info.o -> res_pjsip_empty_info.so
[CC] res_pjsip_endpoint_identifier_anonymous.c -> res_pjsip_endpoint_identifier_anonymous.o
[LD] res_pjsip_endpoint_identifier_anonymous.o -> res_pjsip_endpoint_identifier_anonymous.so
[CC] res_pjsip_endpoint_identifier_ip.c -> res_pjsip_endpoint_identifier_ip.o
[LD] res_pjsip_endpoint_identifier_ip.o -> res_pjsip_endpoint_identifier_ip.so
[CC] res_pjsip_endpoint_identifier_user.c -> res_pjsip_endpoint_identifier_user.o
[LD] res_pjsip_endpoint_identifier_user.o -> res_pjsip_endpoint_identifier_user.so
[CC] res_pjsip_exten_state.c -> res_pjsip_exten_state.o
[LD] res_pjsip_exten_state.o -> res_pjsip_exten_state.so
[CC] res_pjsip_header_funcs.c -> res_pjsip_header_funcs.o
[LD] res_pjsip_header_funcs.o -> res_pjsip_header_funcs.so
[CC] res_pjsip_history.c -> res_pjsip_history.o
[LD] res_pjsip_history.o -> res_pjsip_history.so
[CC] res_pjsip_logger.c -> res_pjsip_logger.o
[LD] res_pjsip_logger.o -> res_pjsip_logger.so
[CC] res_pjsip_messaging.c -> res_pjsip_messaging.o
[LD] res_pjsip_messaging.o -> res_pjsip_messaging.so
[CC] res_pjsip_mwi_body_generator.c -> res_pjsip_mwi_body_generator.o
[LD] res_pjsip_mwi_body_generator.o -> res_pjsip_mwi_body_generator.so
[CC] res_pjsip_mwi.c -> res_pjsip_mwi.o
[LD] res_pjsip_mwi.o -> res_pjsip_mwi.so
[CC] res_pjsip_nat.c -> res_pjsip_nat.o
[LD] res_pjsip_nat.o -> res_pjsip_nat.so
[CC] res_pjsip_notify.c -> res_pjsip_notify.o
[LD] res_pjsip_notify.o -> res_pjsip_notify.so
[CC] res_pjsip_one_touch_record_info.c -> res_pjsip_one_touch_record_info.o
[LD] res_pjsip_one_touch_record_info.o -> res_pjsip_one_touch_record_info.so
[CC] res_pjsip_outbound_authenticator_digest.c -> res_pjsip_outbound_authenticator_digest.o
[LD] res_pjsip_outbound_authenticator_digest.o -> res_pjsip_outbound_authenticator_digest.so
[CC] res_pjsip_outbound_publish.c -> res_pjsip_outbound_publish.o
[LD] res_pjsip_outbound_publish.o -> res_pjsip_outbound_publish.so
[CC] res_pjsip_outbound_registration.c -> res_pjsip_outbound_registration.o
[LD] res_pjsip_outbound_registration.o -> res_pjsip_outbound_registration.so
[CC] res_pjsip_path.c -> res_pjsip_path.o
[LD] res_pjsip_path.o -> res_pjsip_path.so
[CC] res_pjsip_phoneprov_provider.c -> res_pjsip_phoneprov_provider.o
[LD] res_pjsip_phoneprov_provider.o -> res_pjsip_phoneprov_provider.so
[CC] res_pjsip_pidf_body_generator.c -> res_pjsip_pidf_body_generator.o
[LD] res_pjsip_pidf_body_generator.o -> res_pjsip_pidf_body_generator.so
[CC] res_pjsip_pidf_digium_body_supplement.c -> res_pjsip_pidf_digium_body_supplement.o
[LD] res_pjsip_pidf_digium_body_supplement.o -> res_pjsip_pidf_digium_body_supplement.so
[CC] res_pjsip_pidf_eyebeam_body_supplement.c -> res_pjsip_pidf_eyebeam_body_supplement.o
[LD] res_pjsip_pidf_eyebeam_body_supplement.o -> res_pjsip_pidf_eyebeam_body_supplement.so
[CC] res_pjsip_publish_asterisk.c -> res_pjsip_publish_asterisk.o
[LD] res_pjsip_publish_asterisk.o -> res_pjsip_publish_asterisk.so
[CC] res_pjsip_pubsub.c -> res_pjsip_pubsub.o
[LD] res_pjsip_pubsub.o -> res_pjsip_pubsub.so
[CC] res_pjsip_refer.c -> res_pjsip_refer.o
[LD] res_pjsip_refer.o -> res_pjsip_refer.so
[CC] res_pjsip_registrar.c -> res_pjsip_registrar.o
[LD] res_pjsip_registrar.o -> res_pjsip_registrar.so
[CC] res_pjsip_rfc3326.c -> res_pjsip_rfc3326.o
[LD] res_pjsip_rfc3326.o -> res_pjsip_rfc3326.so
[CC] res_pjsip_sdp_rtp.c -> res_pjsip_sdp_rtp.o
[LD] res_pjsip_sdp_rtp.o -> res_pjsip_sdp_rtp.so
[CC] res_pjsip_send_to_voicemail.c -> res_pjsip_send_to_voicemail.o
[LD] res_pjsip_send_to_voicemail.o -> res_pjsip_send_to_voicemail.so
[CC] res_pjsip_session.c -> res_pjsip_session.o
[CC] res_pjsip_session/pjsip_session_caps.c -> res_pjsip_session/pjsip_session_caps.o
[LD] res_pjsip_session.o res_pjsip_session/pjsip_session_caps.o -> res_pjsip_session.so
[CC] res_pjsip_sips_contact.c -> res_pjsip_sips_contact.o
[LD] res_pjsip_sips_contact.o -> res_pjsip_sips_contact.so
[CC] res_pjsip_t38.c -> res_pjsip_t38.o
[LD] res_pjsip_t38.o -> res_pjsip_t38.so
[CC] res_pjsip_transport_websocket.c -> res_pjsip_transport_websocket.o
[LD] res_pjsip_transport_websocket.o -> res_pjsip_transport_websocket.so
[CC] res_pjsip_xpidf_body_generator.c -> res_pjsip_xpidf_body_generator.o
[LD] res_pjsip_xpidf_body_generator.o -> res_pjsip_xpidf_body_generator.so
> Upgrade Asterisk to bundled pjproject 2.13
> ------------------------------------------
>
> Key: ASTERISK-30325
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30325
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: 20.0.0, 19.7.0, 18.15.0
> Reporter: Stanislav Abramenkov
> Severity: Major
> Labels: patch
> Attachments: pjproject_2_13-patch1.diff
>
>
> pjproject 2.13 has been released
> More information:
> https://github.com/pjsip/pjproject/releases/tag/2.13
> Pull request to third-party
> https://github.com/asterisk/third-party/pull/13
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list