Skip to content

[Bug]: Monal not ending calls upon session-terminate #1576

@jacquescomeaux

Description

@jacquescomeaux

What Monal Release channel are you using?

AppStore

iOS system version (if applicable)

26.0

macOS system version (if applicable)

No response

Monal version

Stable 6.4.18 (1077)

Used XMPP server (domain)

jacquescomeaux.xyz

Which XMPP-Server software are you using?

Prosody

XMPP Server Software Version

13.0.4

How many accounts are you using in Monal?

1

What happened?

When the other client (dino) ends the call by hanging up, Monal does not hang up gracefully. Instead, it waits for a few seconds then displays the message "Call ended: connection failed".

Here are some relevant XMPP stanzas captured from dino (using **** to hide jids):

XMPP OUT [****@jacquescomeaux.xyz stream:0x55c6a3004e10 thread:0x55c6a17a6280 2026-02-18T13:16:52-0600]
<iq id='7b6b7a1d-4525-451e-98f6-7f3e3060ae69' type='set' to='****@jacquescomeaux.xyz/Monal-iOS.e6d89ff2'>
  <jingle xmlns='urn:xmpp:jingle:1' action='session-terminate' sid='57620B3A-F96E-46AA-BF68-EAB943129810'>
    <reason>
      <success />
    </reason>
  </jingle>
</iq>

XMPP IN [****@jacquescomeaux.xyz stream:0x55c6a3004e10 thread:0x55c6a17a6280 2026-02-18T13:17:00-0600]
<iq lang='en' type='set' to='****@jacquescomeaux.xyz/dino.c703afd7' from='****@jacquescomeaux.xyz/Monal-iOS.e6d89ff2' id='562A60C8-BCE5-4FE7-8432-64C1295DD7BD'>
  <jingle sid='57620B3A-F96E-46AA-BF68-EAB943129810' xmlns='urn:xmpp:jingle:1' action='session-terminate'>
    <reason>
      <connectivity-error />
    </reason>
  </jingle>
</iq>

XMPP OUT [****@jacquescomeaux.xyz stream:0x55c6a3004e10 thread:0x55c6a17a6280 2026-02-18T13:17:00-0600]
<iq id='562A60C8-BCE5-4FE7-8432-64C1295DD7BD' type='error' to='****@jacquescomeaux.xyz/Monal-iOS.e6d89ff2'>
  <error type='cancel'>
    <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas' />
    <unknown-session xmlns='urn:xmpp:jingle:errors:1' />
  </error>
</iq>

XMPP IN [****@jacquescomeaux.xyz stream:0x55c6a3004e10 thread:0x55c6a17a6280 2026-02-18T13:17:00-0600]
<message lang='en' type='chat' to='****@jacquescomeaux.xyz/dino.c703afd7' id='08BCB625-7832-4C01-BF15-3E5C5F72C1E5' from='****@jacquescomeaux.xyz/Monal-iOS.e6d89ff2'>
  <origin-id id='08BCB625-7832-4C01-BF15-3E5C5F72C1E5' xmlns='urn:xmpp:sid:0' />
  <finish id='57620B3A-F96E-46AA-BF68-EAB943129810' xmlns='urn:xmpp:jingle-message:0'>
    <reason xmlns='urn:xmpp:jingle:1'>
      <connectivity-error />
    </reason>
  </finish>
  <store xmlns='urn:xmpp:hints' />
  <stanza-id by='****@jacquescomeaux.xyz' xmlns='urn:xmpp:sid:0' id='019c722f-2c50-7852-89fe-769c88c050d9' />
</message>

Anything else?

A log file capturing this situation has been emailed to info@monal-im.org.

FAQ

Considerations for XMPP users

XEP-Check

  • I have checked that at least XEP-198, XEP-0280, XEP-0352, XEP-0357, XEP-0313 and XEP-0163 are activated on my server and shown as 'green' under Settings --> Account--> (i) in advanced settings

Notifications-Menu

  • I have checked that all checkmarks are present under Settings --> Notifications

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions