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

tport_listen Address already in use #223

Open
ruban22 opened this issue Jul 11, 2023 · 0 comments
Open

tport_listen Address already in use #223

ruban22 opened this issue Jul 11, 2023 · 0 comments

Comments

@ruban22
Copy link

ruban22 commented Jul 11, 2023

Hello

Im stuck with the nua create to bind the local IP for establishing TLS connection, much appreciate if you can help.

I'm getting the following error with tport when the NUA_create is binding to 0.0.0.0:*, Can you please advise how to overcome this and bind the TLS connection on port 5061.

If I use call nua_create() with sip:0.0.0.0:* and then call nua_invite() get address already in use. Am I doing something wrong?

2023-07-11 12:35:21.103841+0100 Worktual[1376:396251] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport_tls.c:445 tls_init_context() tls: initialized ECDH
2023-07-11 12:35:21.105285+0100 Worktual[1376:396531] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport.c:1693 tport_bind_server() tport_bind_server(0x15b511d60): calling tport_listen for tls
2023-07-11 12:35:21.105319+0100 Worktual[1376:396531] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport.c:621 tport_alloc_primary() tport_alloc_primary(0x15b511d60): new primary tport 0x159fc0020
2023-07-11 12:35:21.105334+0100 Worktual[1376:396383] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport_type_tls.c:239 tport_tls_init_master() tport_tls_init_master(0x15b519fe0): tls key = /private/var/containers/Bundle/Application/898A6DD2-A668-4A39-9C99-3AFA959A8319/Worktual.app/agent.pem
2023-07-11 12:35:21.105396+0100 Worktual[1376:396531] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport_type_tls.c:239 tport_tls_init_master() tport_tls_init_master(0x159fc0020): tls key = /private/var/containers/Bundle/Application/898A6DD2-A668-4A39-9C99-3AFA959A8319/Worktual.app/agent.pem
2023-07-11 12:35:21.105728+0100 Worktual[1376:396251] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport_type_tls.c:266 tport_tls_init_master() tport_tls_init_master(0x15b61ef40): tls context initialized for [10.54.25.98]:51874
2023-07-11 12:35:21.107953+0100 Worktual[1376:396251] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport.c:727 tport_listen() tport_listen(0x159dd9ea0): bind(pf=2 tls/[10.54.25.98]:51874): Address already in use
2023-07-11 12:35:21.108421+0100 Worktual[1376:396251] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport.c:1738 tport_bind_server() tport_bind_server(0x159dd9ea0): cannot bind all transports to port 51874, trying 19005
2023-07-11 12:35:21.108533+0100 Worktual[1376:396251] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport.c:1693 tport_bind_server() tport_bind_server(0x159dd9ea0): calling tport_listen for tls
2023-07-11 12:35:21.108590+0100 Worktual[1376:396251] customSofiaLoggerCallback 6463: :>>>>>>>>>>>>>> customSofiaLoggerCallback tport.c:621 tport_alloc_primary() tport_alloc_primary(0x159dd9ea0): new primary tport 0x15b61ef40

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