Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sip endpoints dont seem to work through this client #82

Closed
jamesmcarthur115555 opened this issue Sep 29, 2024 · 2 comments
Closed

Sip endpoints dont seem to work through this client #82

jamesmcarthur115555 opened this issue Sep 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jamesmcarthur115555
Copy link

Describe the bug
Sip endpoints for listing work but the creation ones throw an error

To Reproduce
Attempt to create a sip trunk or dispatch rule

{"code":"bad_route","msg":"no handler for path "/twirp/livekit.Egress/CreateSIPInboundTrunk"","meta":{"twirp_invalid_route":"POST /twirp/livekit.Egress/CreateSIPInboundTrunk"}}

Expected behavior
Creation of tunk or dispatch rule or validation error

Additional context
Add any other context about the problem here.

@jamesmcarthur115555 jamesmcarthur115555 added the bug Something isn't working label Sep 29, 2024
@jamesmcarthur115555
Copy link
Author

` LivekitSip.SIPInboundTrunkInfo trunk = null;

    Response<SIPInboundTrunkInfo> tinfo = client.createSipInboundTrunk("testing", Arrays.asList("XXXXXXX"), opts).execute();
    if (tinfo.isSuccessful()) {

        System.out.println("GOOD??");
    } else {
        System.out.println(tinfo.isSuccessful());
        System.out.println(tinfo.errorBody().string());

    }
    `

@davidliu
Copy link
Contributor

davidliu commented Oct 3, 2024

Fixed by #83

@davidliu davidliu closed this as completed Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants