Skip to content

example/proxysip: TestInviteCallUDP test case hangs #230

@samuhvarta

Description

@samuhvarta

First of all, thank you for this great project and all the work you have put behind this!

I am trying to compile the example/sipproxy project and understand how this project can be used to run a simple SIP proxy.
I notice that the tests in example/sipproxy hang in latest master and since v0.32.0.

Steps to reproduce

❯ cd example/proxysip
❯ go test ./... -v
=== RUN   TestInviteCallUDP
    main_test.go:244: Running proxy {127.0.0.1 5060 } {127.0.0.2 5060 } {127.0.0.3 5060 }
    main_test.go:140: CLIENT1: Send INVITE
    main_test.go:142: CLIENT1 INVITE: Got response
panic: test timed out after 10m0s
        running tests:
                TestInviteCallUDP (10m0s)

The tests were run using go 1.23.4 and 1.24.3 toolchains

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