Skip to content

Register timeout when using TCP #91

@phanmn

Description

@phanmn

Hi thank you for the awesome project!

I'm starting a sip registrar service in my Elixir project, it works fine with UDP but it returns timeout when trying with TCP!

{:error, {:exit, :timeout}}

Here is my simple project https://github.com/phanmn/ex-pbx

We can start with Iex and using this command to register with TCP

:nksip_uac.register(:client, "<sip:127.0.0.1;transport=tcp>", [{:sip_pass, "1234"}, :contact, {:get_meta, [<<"contact">>]}])

This is a command to register with UDP

:nksip_uac.register(:client, "sip:127.0.0.1", [{:sip_pass, "1234"}, :contact, {:get_meta, [<<"contact">>]}])

Please give me some hints, many thanks!

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