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?
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