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

Register timeout when using TCP #91

Open
phanmn opened this issue May 21, 2024 · 0 comments
Open

Register timeout when using TCP #91

phanmn opened this issue May 21, 2024 · 0 comments

Comments

@phanmn
Copy link

phanmn commented May 21, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant