Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package baresip for openSUSE:Factory checked 
in at 2026-06-17 16:27:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/baresip (Old)
 and      /work/SRC/openSUSE:Factory/.baresip.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "baresip"

Wed Jun 17 16:27:54 2026 rev:18 rq:1360032 version:4.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/baresip/baresip.changes  2026-05-15 
23:54:38.739913471 +0200
+++ /work/SRC/openSUSE:Factory/.baresip.new.1981/baresip.changes        
2026-06-17 16:29:18.634607931 +0200
@@ -1,0 +2,14 @@
+Wed Jun 17 12:31:50 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to versoin 4.9.0
+  * tls: change to non-deprecated TLS_METHOD_XXX.
+  * ua: emit event for failed incoming INVITE.
+  * ua: avoid fallback 500 after unsupported address family.
+  * ua: stop processing INVITE after 421 response.
+  * test: add 100rel required reject testcase.
+  * docs: minor cleanup of example config.
+  * contact: add command to clear all contacts.
+  * uag: check registration state of fallback UA.
+  * call: make call_supported() input argument const.
+
+-------------------------------------------------------------------

Old:
----
  baresip-4.8.0.tar.gz

New:
----
  baresip-4.9.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ baresip.spec ++++++
--- /var/tmp/diff_new_pack.iMnnR2/_old  2026-06-17 16:29:19.146629248 +0200
+++ /var/tmp/diff_new_pack.iMnnR2/_new  2026-06-17 16:29:19.146629248 +0200
@@ -17,10 +17,10 @@
 #
 
 
-%global sover   27
+%global sover   28
 %global libname lib%{name}%{sover}
 Name:           baresip
-Version:        4.8.0
+Version:        4.9.0
 Release:        0
 Summary:        Modular SIP useragent
 License:        BSD-3-Clause

++++++ baresip-4.8.0.tar.gz -> baresip-4.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/.github/workflows/coverage.yml 
new/baresip-4.9.0/.github/workflows/coverage.yml
--- old/baresip-4.8.0/.github/workflows/coverage.yml    2026-05-12 
10:13:17.000000000 +0200
+++ new/baresip-4.9.0/.github/workflows/coverage.yml    2026-06-17 
08:22:32.000000000 +0200
@@ -88,7 +88,7 @@
       run: |
         zip -r coverage.zip html
 
-    - uses: actions/upload-artifact@v4
+    - uses: actions/upload-artifact@v7
       with:
         name: coverage
         path: coverage.zip
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/.github/workflows/fedora.yml 
new/baresip-4.9.0/.github/workflows/fedora.yml
--- old/baresip-4.8.0/.github/workflows/fedora.yml      2026-05-12 
10:13:17.000000000 +0200
+++ new/baresip-4.9.0/.github/workflows/fedora.yml      2026-06-17 
08:22:32.000000000 +0200
@@ -95,7 +95,7 @@
           'spandsp-devel' \
           '/usr/bin/gdbus-codegen'
 
-    - uses: actions/download-artifact@v4
+    - uses: actions/download-artifact@v8
       with:
         name: re-fedora
         path: re/placeholder-0-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/.github/workflows/mingw.yml 
new/baresip-4.9.0/.github/workflows/mingw.yml
--- old/baresip-4.8.0/.github/workflows/mingw.yml       2026-05-12 
10:13:17.000000000 +0200
+++ new/baresip-4.9.0/.github/workflows/mingw.yml       2026-06-17 
08:22:32.000000000 +0200
@@ -45,7 +45,7 @@
       with:
         path: baresip-win32/baresip
 
-    - uses: actions/cache@v4
+    - uses: actions/cache@v5
       id: openssl
       with:
         path: baresip-win32/openssl
@@ -62,7 +62,7 @@
     - name: "build"
       run: make -j$(nproc) -C baresip-win32 baresip
 
-    - uses: actions/upload-artifact@v4
+    - uses: actions/upload-artifact@v7
       with:
         name: selftest-exe
         path: baresip-win32/baresip/build/test/selftest.exe
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/CHANGELOG.md 
new/baresip-4.9.0/CHANGELOG.md
--- old/baresip-4.8.0/CHANGELOG.md      2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/CHANGELOG.md      2026-06-17 08:22:32.000000000 +0200
@@ -5,10 +5,28 @@
 The format is based on [Keep a 
Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic 
Versioning](https://semver.org/spec/v2.0.0.html).
 
+## v4.9.0 - 2026-06-17
+
+### What's Changed
+* tls: change to non-deprecated TLS_METHOD_XXX by @alfredh in 
https://github.com/baresip/baresip/pull/3732
+* ua: emit event for failed incoming INVITE by @SnowMaster12 in 
https://github.com/baresip/baresip/pull/3733
+* ua: avoid fallback 500 after unsupported address family by @SnowMaster12 in 
https://github.com/baresip/baresip/pull/3735
+* ua: stop processing INVITE after 421 response by @SnowMaster12 in 
https://github.com/baresip/baresip/pull/3736
+* test: add 100rel required reject testcase by @SnowMaster12 in 
https://github.com/baresip/baresip/pull/3738
+* ci/coverage: upgrade to actions/upload-artifact@v7 by @alfredh in 
https://github.com/baresip/baresip/pull/3743
+* config: switch to Aaudio module for Android by @alfredh in 
https://github.com/baresip/baresip/pull/3745
+* docs: minor cleanup of example config by @alfredh in 
https://github.com/baresip/baresip/pull/3744
+* contact: add command to clear all contacts by @cspiel1 in 
https://github.com/baresip/baresip/pull/3751
+* ci: bump actions scripts to fix Node.js warning by @alfredh in 
https://github.com/baresip/baresip/pull/3747
+* uag: check registration state of fallback UA by @cspiel1 in 
https://github.com/baresip/baresip/pull/3752
+* call: make call_supported() input argument const by @alfredh in 
https://github.com/baresip/baresip/pull/3748
+
+
+**Full Changelog**: https://github.com/baresip/baresip/compare/v4.8.0...v4.9.0
 
 ## v4.8.0 - 2026-05-13
 
-## What's Changed
+### What's Changed
 * contact: null pointer check by @cspiel1 in 
https://github.com/baresip/baresip/pull/3698
 * misc: auresamp lost after dynamic codec switch by @negbie in 
https://github.com/baresip/baresip/pull/3685
 * ci,windows: remove openssl version number by @alfredh in 
https://github.com/baresip/baresip/pull/3701
@@ -26,7 +44,7 @@
 * test: update doxygen header for dial_number.c by @alfredh in 
https://github.com/baresip/baresip/pull/3724
 * call: Use CRLF in REFER NOTIFY sipfrag body by @SnowMaster12 in 
https://github.com/baresip/baresip/pull/3726
 
-## New Contributors
+### New Contributors
 * @SnowMaster12 made their first contribution in 
https://github.com/baresip/baresip/pull/3726
 
 **Full Changelog**: https://github.com/baresip/baresip/compare/v4.7.0...v4.8.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/CMakeLists.txt 
new/baresip-4.9.0/CMakeLists.txt
--- old/baresip-4.8.0/CMakeLists.txt    2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/CMakeLists.txt    2026-06-17 08:22:32.000000000 +0200
@@ -13,9 +13,9 @@
 
 cmake_minimum_required(VERSION 3.18...4.0)
 
-project(baresip VERSION 4.8.0)
+project(baresip VERSION 4.9.0)
 
-set(PROJECT_SOVERSION 27) # bump if ABI breaks
+set(PROJECT_SOVERSION 28) # bump if ABI breaks
 
 # Pre-release identifier, comment out on a release
 # Increment for breaking changes (dev2, dev3...)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/docs/examples/config 
new/baresip-4.9.0/docs/examples/config
--- old/baresip-4.8.0/docs/examples/config      2026-05-12 10:13:17.000000000 
+0200
+++ new/baresip-4.9.0/docs/examples/config      2026-06-17 08:22:32.000000000 
+0200
@@ -86,6 +86,7 @@
 #dns_server            1.0.0.1:53
 #dns_fallback          8.8.8.8:53
 #net_interface         eth0
+
 # Play tones
 #file_ausrc            aufile
 #file_srate            16000
@@ -110,9 +111,7 @@
 #module                        g722.so
 module                 g711.so
 #module                        l16.so
-#module                        mpa.so
 #module                        codec2.so
-#module                        ilbc.so
 
 # Audio filter Modules (in encoding order)
 module                 auconv.so
@@ -160,7 +159,6 @@
 #module                        gst.so
 
 # Compatibility modules
-#module                        ebuacip.so
 module                 uuid.so
 
 # Media NAT modules
@@ -291,9 +289,6 @@
 # sndfile
 #snd_path              /tmp
 
-# EBU ACIP
-#ebuacip_jb_type       fixed   # auto,fixed
-
 # HTTP request module
 #httpreq_ca            trusted1.pem
 #httpreq_ca            trusted2.pem
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/include/baresip.h 
new/baresip-4.9.0/include/baresip.h
--- old/baresip-4.8.0/include/baresip.h 2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/include/baresip.h 2026-06-17 08:22:32.000000000 +0200
@@ -13,7 +13,7 @@
 
 
 /** Defines the Baresip version string */
-#define BARESIP_VERSION "4.8.0"
+#define BARESIP_VERSION "4.9.0"
 
 
 #ifndef NET_MAX_NS
@@ -284,7 +284,7 @@
 void call_get_media_estdir(struct call *call,
                           enum sdp_dir *ap, enum sdp_dir *vp);
 void call_start_answtmr(struct call *call, uint32_t ms);
-bool          call_supported(struct call *call, uint16_t tags);
+bool          call_supported(const struct call *call, uint16_t tags);
 const struct pl *call_user_data(const struct call *call);
 int call_set_user_data(struct call *call, const struct pl *user_data);
 int call_msg_src(const struct call *call, struct sa *sa);
@@ -927,6 +927,7 @@
        BEVENT_END_OF_FILE,
        BEVENT_CUSTOM,
        BEVENT_SIPSESS_CONN,
+       BEVENT_SIPSESS_FAILED,
 
        BEVENT_MAX,
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/mk/Doxyfile 
new/baresip-4.9.0/mk/Doxyfile
--- old/baresip-4.8.0/mk/Doxyfile       2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/mk/Doxyfile       2026-06-17 08:22:32.000000000 +0200
@@ -4,7 +4,7 @@
 # Project related configuration options
 #---------------------------------------------------------------------------
 PROJECT_NAME           = baresip
-PROJECT_NUMBER         = 4.8.0
+PROJECT_NUMBER         = 4.9.0
 OUTPUT_DIRECTORY       = ../baresip-dox
 CREATE_SUBDIRS         = NO
 OUTPUT_LANGUAGE        = English
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/modules/contact/contact.c 
new/baresip-4.9.0/modules/contact/contact.c
--- old/baresip-4.8.0/modules/contact/contact.c 2026-05-12 10:13:17.000000000 
+0200
+++ new/baresip-4.9.0/modules/contact/contact.c 2026-06-17 08:22:32.000000000 
+0200
@@ -257,6 +257,15 @@
 }
 
 
+static int cmd_clr_contacts(struct re_printf *pf, void *arg)
+{
+       (void)arg;
+
+       list_flush(contact_list(baresip_contacts()));
+       return re_hprintf(pf, "contact: all contacts cleared\n");
+}
+
+
 static int cmd_rm_contact(struct re_printf *pf, void *arg)
 {
        const struct cmd_arg *carg = arg;
@@ -299,6 +308,7 @@
 {"contact_next", '>',        0, "Set next contact",       cmd_current_next  },
 {"addcontact",     0,  CMD_PRM, "Add a contact",          cmd_add_contact   },
 {"rmcontact",      0,  CMD_PRM, "Remove a contact",       cmd_rm_contact   },
+{"clrcontacts",    0,        0, "Clear all contacts",     cmd_clr_contacts },
 };
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/modules/dtls_srtp/dtls_srtp.c 
new/baresip-4.9.0/modules/dtls_srtp/dtls_srtp.c
--- old/baresip-4.8.0/modules/dtls_srtp/dtls_srtp.c     2026-05-12 
10:13:17.000000000 +0200
+++ new/baresip-4.9.0/modules/dtls_srtp/dtls_srtp.c     2026-06-17 
08:22:32.000000000 +0200
@@ -513,7 +513,7 @@
        const char *cn = "dtls@baresip";
        int err;
 
-       err = tls_alloc(&tls, TLS_METHOD_DTLSV1, NULL, NULL);
+       err = tls_alloc(&tls, TLS_METHOD_DTLS, NULL, NULL);
        if (err) {
                warning("dtls_srtp: failed to create DTLS context (%m)\n",
                        err);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/src/bevent.c 
new/baresip-4.9.0/src/bevent.c
--- old/baresip-4.8.0/src/bevent.c      2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/src/bevent.c      2026-06-17 08:22:32.000000000 +0200
@@ -767,6 +767,7 @@
        case BEVENT_MODULE:               return "MODULE";
        case BEVENT_END_OF_FILE:          return "END_OF_FILE";
        case BEVENT_CUSTOM:               return "CUSTOM";
+       case BEVENT_SIPSESS_FAILED:       return "SIPSESS_FAILED";
        default: return "?";
        }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/src/call.c new/baresip-4.9.0/src/call.c
--- old/baresip-4.8.0/src/call.c        2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/src/call.c        2026-06-17 08:22:32.000000000 +0200
@@ -3411,7 +3411,7 @@
  *
  * @return true if check succeeds, false otherwise
  */
-bool call_supported(struct call *call, uint16_t tags)
+bool call_supported(const struct call *call, uint16_t tags)
 {
        if (!call)
                return false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/src/config.c 
new/baresip-4.9.0/src/config.c
--- old/baresip-4.8.0/src/config.c      2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/src/config.c      2026-06-17 08:22:32.000000000 +0200
@@ -739,7 +739,7 @@
 #if defined (DEFAULT_AUDIO_DEVICE)
        return DEFAULT_AUDIO_DEVICE;
 #elif defined (ANDROID)
-       return "opensles,nil";
+       return "aaudio,default";
 #elif defined (DARWIN)
        #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE || \
            defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR
@@ -1121,7 +1121,7 @@
 
        (void)re_fprintf(f, "\n# Audio driver Modules\n");
 #if defined (ANDROID)
-       (void)re_fprintf(f, "module\t\t\t" "opensles" MOD_EXT "\n");
+       (void)re_fprintf(f, "module\t\t\t" "aaudio" MOD_EXT "\n");
 #elif defined (DARWIN)
        #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE || \
            defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/src/ua.c new/baresip-4.9.0/src/ua.c
--- old/baresip-4.8.0/src/ua.c  2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/src/ua.c  2026-06-17 08:22:32.000000000 +0200
@@ -700,6 +700,8 @@
        if (pl_strncmp(&msg->via.branch, magic_branch, sizeof(magic_branch)-1)
            != 0) {
                info("ua: received INVITE with incorrect Via branch.\n");
+               (void)bevent_sip_msg_emit(BEVENT_SIPSESS_FAILED, msg,
+                               "606 Not Acceptable");
                (void)sip_treply(NULL, uag_sip(), msg, 606, "Not Acceptable");
                return;
        }
@@ -708,11 +710,15 @@
        if (!ua) {
                info("ua: %r: UA not found: %H\n",
                     &msg->from.auri, uri_encode, &msg->uri);
+               (void)bevent_sip_msg_emit(BEVENT_SIPSESS_FAILED, msg,
+                                       "404 Not Found");
                (void)sip_treply(NULL, uag_sip(), msg, 404, "Not Found");
                return;
        }
 
        if (!ua_req_check_origin(ua, msg)) {
+               (void)bevent_sip_msg_emit(BEVENT_SIPSESS_FAILED, msg,
+                                       "403 Forbidden");
                (void)sip_treply(NULL, uag_sip(), msg, 403, "Forbidden");
                return;
        }
@@ -723,6 +729,8 @@
 
                info("ua: rejected call from %r (maximum %d calls)\n",
                     &msg->from.auri, config->call.max_calls);
+               (void)bevent_sip_msg_emit(BEVENT_SIPSESS_FAILED, msg,
+                                       "486 Max Calls");
                (void)sip_treply(NULL, uag_sip(), msg, 486, "Max Calls");
                return;
        }
@@ -735,6 +743,8 @@
                             " -- option-tag '%r' not supported\n",
                             &msg->from.auri, &hdr->val);
 
+               (void)bevent_sip_msg_emit(BEVENT_SIPSESS_FAILED, msg,
+                                       "420 Bad Extension");
                (void)sip_treplyf(NULL, NULL, uag_sip(), msg, false,
                                  420, "Bad Extension",
                                  "Unsupported: %r\r\n"
@@ -754,6 +764,7 @@
                                  421, "Extension required",
                                  "Require: 100rel\r\n"
                                  "Content-Length: 0\r\n\r\n");
+               return;
        }
 
        if (config->call.accept)
@@ -793,6 +804,11 @@
        err = ua_call_alloc(&call, ua, VIDMODE_ON, msg, NULL, to_uri, true);
        if (err) {
                warning("ua: call_alloc: %m\n", err);
+               if (err == EAFNOSUPPORT) {
+                       mem_deref(to_uri);
+                       return err;
+               }
+
                goto error;
        }
 
@@ -905,7 +921,7 @@
                                net_af2name(af));
                (void)sip_treply(NULL, uag_sip(), msg, 488,
                                 "Not Acceptable Here");
-               return EINVAL;
+               return EAFNOSUPPORT;
        }
 
        memset(&cprm, 0, sizeof(cprm));
@@ -975,8 +991,11 @@
                err = ua_call_alloc(&call, ua, VIDMODE_ON, msg, NULL, NULL,
                                    false);
                if (err) {
-                       (void)sip_treply(NULL, uag_sip(), msg,
-                                        500, "Call Error");
+                       if (err != EAFNOSUPPORT) {
+                               (void)sip_treply(NULL, uag_sip(), msg,
+                                               500, "Call Error");
+                       }
+
                        return;
                }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/src/uag.c new/baresip-4.9.0/src/uag.c
--- old/baresip-4.8.0/src/uag.c 2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/src/uag.c 2026-06-17 08:22:32.000000000 +0200
@@ -366,7 +366,7 @@
                                info("SIP Certificate: %s\n", cert);
                        }
 
-                       err = tls_alloc(&uag.tls, TLS_METHOD_SSLV23,
+                       err = tls_alloc(&uag.tls, TLS_METHOD_TLS,
                                        cert, NULL);
                        if (err) {
                                warning("ua: tls_alloc() failed: %m\n", err);
@@ -429,7 +429,7 @@
 #ifdef USE_TLS
        if (u32mask_enabled(uag.transports, SIP_TRANSP_WSS)) {
                if (!uag.wss_tls) {
-                       err = tls_alloc(&uag.wss_tls, TLS_METHOD_SSLV23,
+                       err = tls_alloc(&uag.wss_tls, TLS_METHOD_TLS,
                                        NULL, NULL);
                        if (err) {
                                warning("ua: wss tls_alloc() failed: %m\n",
@@ -947,7 +947,7 @@
                        return ua;
                }
 
-               if (!uaf && ua_catchall(ua))
+               if (!uaf && ua_catchall(ua) && ua_isregistered(ua))
                        uaf = ua;
        }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/test/call.c 
new/baresip-4.9.0/test/call.c
--- old/baresip-4.8.0/test/call.c       2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/test/call.c       2026-06-17 08:22:32.000000000 +0200
@@ -1074,6 +1074,57 @@
 }
 
 
+int test_call_100rel_required_reject(void)
+{
+       struct fixture fix, *f = &fix;
+       bool accept = conf_config()->call.accept;
+       int err;
+
+       fixture_init(f);
+
+       /* Apply 100rel=required onlyt to the callee */
+       f->b.ua = mem_deref(f->b.ua);
+
+       err = ua_alloc(&f->b.ua,
+                      "B <sip:[email protected]>;regint=0;100rel=required");
+       TEST_ERR(err);
+
+       f->a.peer = &f->b;
+       f->b.peer = &f->a;
+
+       /* Force the INVITE to reach sipsess_conn_handler */
+       conf_config()->call.accept = false;
+
+       f->behaviour = BEHAVIOUR_ANSWER;
+
+       err = ua_connect(f->a.ua, 0, NULL, f->buri, VIDMODE_OFF);
+       TEST_ERR(err);
+
+       /* The callee must not allocate a call */
+       f->b.failed = true;
+
+       err = re_main_timeout(5000);
+       TEST_ERR(err);
+       TEST_ERR(fix.err);
+
+       ASSERT_EQ(0, fix.a.n_incoming);
+       ASSERT_EQ(0, fix.a.n_established);
+       ASSERT_EQ(1, fix.a.n_closed);
+       ASSERT_EQ(421, fix.a.close_scode);
+       ASSERT_STREQ("421 Extension required", fix.a.close_prm);
+
+       ASSERT_EQ(0, fix.b.n_incoming);
+       ASSERT_EQ(0, fix.b.n_established);
+       ASSERT_EQ(0, fix.b.n_closed);
+       ASSERT_EQ(0, list_count(ua_calls(f->b.ua)));
+
+out:
+       conf_config()->call.accept = accept;
+       fixture_close(f);
+       return err;
+}
+
+
 static void auframe_handler(struct auframe *af, const char *dev, void *arg)
 {
        struct fixture *fix = arg;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/test/main.c 
new/baresip-4.9.0/test/main.c
--- old/baresip-4.8.0/test/main.c       2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/test/main.c       2026-06-17 08:22:32.000000000 +0200
@@ -54,6 +54,7 @@
        TEST(test_call_ipv6ll),
        TEST(test_call_100rel_audio),
        TEST(test_call_100rel_video),
+       TEST(test_call_100rel_required_reject),
        TEST(test_call_hold_resume),
        TEST(test_call_srtp_tx_rekey),
        TEST(test_call_uag_find_msg),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/test/sip/sipsrv.c 
new/baresip-4.9.0/test/sip/sipsrv.c
--- old/baresip-4.8.0/test/sip/sipsrv.c 2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/test/sip/sipsrv.c 2026-06-17 08:22:32.000000000 +0200
@@ -576,7 +576,7 @@
                goto out;
 
 #ifdef USE_TLS
-       err = tls_alloc(&tls, TLS_METHOD_SSLV23, NULL, NULL);
+       err = tls_alloc(&tls, TLS_METHOD_TLS, NULL, NULL);
        if (err)
                goto out;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/baresip-4.8.0/test/test.h 
new/baresip-4.9.0/test/test.h
--- old/baresip-4.8.0/test/test.h       2026-05-12 10:13:17.000000000 +0200
+++ new/baresip-4.9.0/test/test.h       2026-06-17 08:22:32.000000000 +0200
@@ -227,6 +227,7 @@
 int test_call_ipv6ll(void);
 int test_call_100rel_audio(void);
 int test_call_100rel_video(void);
+int test_call_100rel_required_reject(void);
 int test_call_hold_resume(void);
 int test_call_srtp_tx_rekey(void);
 int test_call_uag_find_msg(void);

Reply via email to