ClueCon2022在芝加哥举行及FreeSWITCH1.10.8发布
在又一届新的ClueCon召开之际,FreeSWITCH 1.10.8发布了。本次发布主要包含一些重要的Bug修复补丁,同时也提高了FreeSWITCH自身的稳定性,推荐更新。
https://github.com/signalwire/freeswitch/releases/tag/v1.10.8
增强
Build-SystemUpdate libks to 1.8.0 on Windows.coreAdd support to phrase play-file to set a volume attributecoreAllowswitch_buffer_write()to fill in a buffer with zeros. Addswitch_buffer_zero_fill()coremakeswitch_core_media_prepare_codecs()more unit-test friendly.coreremove apr-util from treeDocsAdd Debian 11 Dockerfile example showing how to build FreeSWITCH without repo.fs_cliAdd: -s key adding log events filter UUID onfs_clistartupmod_amqpadd support for ssl connectionsmod_avAvoid using 16384 stack (or heap) bytes inav_file_write(). Removeff_input_buffer_paddingstatic variable.mod_conferenceAdd APIs to set/get conference variablesmod_conferenceSet conference vars from core/channel variablesmod_dptoolsImplementdisable_system_app_commandsglobal variable to make system and bgsystem dialplan apps disabled at run time.mod_json_cdradd timeout param.mod_pgsqlAdd support for postgresql 14mod_sofiaAdd autocomplete options to status profile commandmod_sofiaAdd Fanvil to vendors allowed to update.mod_sofiaCaller ID name in contactmod_sofiaon call term optionally ignore Q.850 Reasonmod_sofiaProvide retry time for failed and waiting registrationmod_voicemailadd option to skip goodbyeSoundsAdd new sounds to en-us-callie and correct en-us-allison 40.wav and 60.wavTestingEnable repo auth on Drone CITestingEnable scan-build 11 on Drone CIUnit-testsImprove back traces reported by ASAN- Remove apr utils and rename apr
Bug修复
aprFix dead nested assignmentsBuild-SystemAdd better error reporting to configure when libks or signalwire-client are missing and mod_verto or mod_signalwire enabled.Build-SystemAdd libswscale-dev debian package to thedebian_min_build.shBuild-SystemAdd signalwire.conf.xml to the freeswitch.specBuild-Systemmrcp: cleanup freeswitch.specBuild-SystemWindows: Fix APR build dependency in unimrcp and pthread dependency in libshout.buildfix postgres detection on osxbuildskip checking unused execinfo.hConfigurationAdd vanilla autoload_configs signalwire.conf.xmlConfigurationRemove jingle_profilescore, mod_sofiaadd some extra checks when creating the digest.CoreAvoid using insecuresqlite3_enable_load_extensionwhenSQLITE_DBCONFIG_ENABLE_LOAD_EXTENSIONis available.CoreChange values for switch_call_cause_t to avoid SIP causecode collissionscoreextend count of acl entries (per SOFIA_MAX_ACL).corefix "--disable-libyuv"corefix build SWITCH_BYTE_ORDER == __BIG_ENDIANcorefix compile error with gcc 11.1CoreFix dead nested assignmentscoreFix jitter buffer- it is not truncating frames properly. It's also overflowing the node packet body and is copying the packet body twice.corefix loglevel - switch_ivr_phrase_macro_event()corefix macOS build when missing CRYPTO_mem_ctrlcorefix memory leak in switch_core_asr_feedCoreFix possible race condition between locking a session and reading it's flags in switch_core_session_read_lock() and switch_core_session_read_lock_hangup().corefix set rtp flag for rtcp events after flags zeroed out.CoreFix switch_core_media_patch_sdp parsing m=text wronglyCoreFix switch_event_base_add_header leaking memory when headers are with indexes. Add a unit-test.CoreFix use of private headers.CoreFix wrong switch_odbc_skip_autocommit_flip function declaration.coreHandling RTCP MUX resulting in gapsCoreODBC: Add odbc-skip-autocommit-flip switch param.CoreRFC 3264 says once we assign a payload number to a dynamic codec, we are stuck with it.coreRTP: a media timeout fix + add pcap based-unit tests.coreRTP: remove unfulfillable conditions involving timer. add missing LF to DEBUG log line.Corescan-build: Fix false-positive bad free by switch_must_realloc() in switch_xml_proc_inst()coreset completion cause upon failed recordingDockerCorrect keyserver and key id in the DockerfileDockerFix broken gpg --verify and Dockerfile cleanupeslFix dead nested assignment in esl_recv_event()iksemelFix potential memory leak in iksrosterlibvpxconfigure.sh erroneous make warnings starting with macOS 11.5.1libvpxscan-build: avoid dereference of null pointerlibvpxscan-build: prevent division by zero in vpx_int_pro_row_c()miniupnpcFix build on Debian Bullseyemod_amqpFix memory leaks on command queue name and parsing configure filemod_avFix dead nested assignmentsmod_avFIX parse config param "profile" and "level"mod_avRemove unused buf variable in av_file_writemod_avmdfix formatting to match coding standardsmod_callcenterFix dead nested assignments in cc_config_api_functionmod_callcenterFix SWITCH_EVENT_PRESENCE_PROBE unbindmod_commandsFix dead nested assignmentsmod_conferencefile descriptor stays openmod_conferenceFix dead nested assignmentsmod_conferenceFix memory consumption and Media flow direction issue.mod_conferenceFix regression made by previous commit when fixing memory consumption.mod_distributorReload message should be same as others (+OK instead of +ok)mod_dptoolsFix dead nested assignments.mod_enumFix dead nested assignmentsmod_event_multicastFix buffer overflow on module load.mod_event_socketfix strcmp crashmod_http_cache``unit-testsremove timestamp unit-testmod_local_streamfix path with ".loc" file extension.mod_luafix json encoding of lua number stringmod_managedFix build in Visual Studio 2022mod_opusfileadd opc_encoder_drain before destroying handlemod_opusfilefix type errorsmod_pgsqlFix build by using PG_VERSION_NUM provided by libpq instead of using POSTGRESQL_MAJOR_VERSION detected by freeswitch configure.mod_say_deLet de_say_time handle short_date_time typemod_say_hr,hu,pl,svFix dead nested assignmentsmod_shoutReplace space with tab in Makefile.ammod_sofiaAdd db-spin-up-wait-ms profile parameter.mod_sofiafail set up of STIR/SHAKEN verification service if configured CA directory fails to loadmod_sofiaFix dead nested assignmentsmod_sofiaFix fs_path to keep<>so that sofia doesn't put the uri parameters as header parameters. Handle multiple Record-Route / Route and Path headers.mod_sofiaFix handling of late offermod_sofiaFix potential memory leak in sofia_reg_handle_sip_r_challenge()mod_sofiaFix PRESENCE_PROBE firing on rejectionmod_sofiaFix regression in RFC-8760.mod_sofiaPut more comments into the code explaining that we include switch_ssl.h into sofia_reg.c because of SHA-512-256 (RFC-8760)mod_sofiaUnit-test: Fix strcmp null argument.mod_sofiaunit-tests: Give mod_sofia time to spin up profile threads on load. Remove some fst_requires().mod_ssmlAdd deps rule to the Makefile.ammod_testIncrease tts_time unit-test's duration window.mod_unicallFix array overflowmod_v8Fix dead nested assignmentsmod_vertoFix dead nested assignmentsmod_vertofix potential memleaks at init.mod_video_filterFix dead nested assignmentsmod_vmdfix shutdown function not being calledmod_voicemailfix vm_fsdb_msg_listmod_voicemailFix voicemail ignoring vm-a1-hashmod_voicemail_ivrFix array overflowmod_xml_ldapFix potential memory leaks in xml_ldap_search()mod_xml_scgiFix dead initialization in mod_xml_scgi_shutdown()stbFix dead nested assignments in stbi__tga_load()Unit-testsAdd --enable-fake-dlclose to .drone.ymlUnit-testsFix unused function in switch_rtp_pcapUnit-testsImprove stability of some tests.Unit-testsReplace fst_requires with fst_check in mod_sofia unit tests. Increase timeout.- Fix dead nested assignments in various modules
安装指南
https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.10.x+Release+notes
另外,一年一度的ClueCon开始了,在线直播链接请关注Youtube FreeSWITCH频道 。
