Skip to content

Delay in Receiving CANCEL from INVITE Transaction After Recent Updates #198

Closed
@moksh-samespace

Description

@moksh-samespace

After updating to the latest version, I've noticed a significant delay in receiving a CANCEL message from an INVITE transaction. This was not the case with the previous version. Below is a snippet of the code where the issue is being observed:

for {
    select {
    case <-tx.Acks():
        fmt.Println("Ack received")
    case <-tx.Done():
        fmt.Println("Transaction done", tx.Err() == sip.ErrTransactionCanceled)
        // Signal transaction is done.
        // Check any errors with tx.Err() to have more info why terminated
        return
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions