microscopic-dress-75199
09/25/2025, 8:49 PMsip-1 | 2025-09-25T20:39:32.392Z INFO sip sip/inbound.go:178 processing invite
sip-1 | 2025-09-25T20:39:32.393Z INFO sip sip/inbound.go:87 Requesting inbound auth
I am passing the auth details correctly in the trunk that is being used as well.tall-airline-16756
09/25/2025, 8:49 PMtall-airline-16756
09/25/2025, 8:50 PMinbound_username and inbound_password (or auth_username and auth_password) used for digest authentication.
2. Take a look at the logs to see if a Proxy-Authorization header is coming through and whether the computed digest response lines up with what’s expected. This can give clues if there’s a credential mismatch.
3. Make sure your firewall isn’t blocking traffic on the SIP signaling port (5060) and the media port range (10000-20000), as these are essential for communication.
4. If you’re running a self-hosted setup, try using the test client in the siptest package. It’s a handy tool that simulates SIP calls, captures detailed logs, and walks through the authentication process step-by-step. This can really help pinpoint any configuration issues.
The test client is great because it automatically handles digest authentication by parsing challenge headers and generating the right responses. This way, you can see if the problem is with your credentials or network setup.
Please feel free to reach out if you want me to walk you through any of these steps or if you have any other questions—I’m here to help!
Sources: docker-compose.yaml | SIP APIs | LiveKit Docs | Self-hosted SIP server | LiveKit Docsmicroscopic-dress-75199
09/25/2025, 8:53 PMprocessing invite {"nodeID": "NE_WoM9w2uoQVAY", "callID": "SCL_icT9yxipJxEa", "fromIP": "xx.xx.xx.x", "toIP": "xx.xx.x.xx:5060", "fromHost": "xx.xxx.xxx.xx", "fromUser": "1234567", "toHost": "xx.xx.x.xxx", "toUser": "+112312312", "sipTag": "3-6A330E38-68D5A8840005DBE1-1F1E46C0", "sipCallID": "3-13A877F8-68D5A8840005DBE2-1F1E46C0"}tall-airline-16756
09/25/2025, 8:54 PMProxy-Authorization headers, here’s a simple guide you can follow:
Checking Proxy-Authorization Headers in Logs
1. Take a look at your SIP server logs for any entries mentioning Proxy-Authorization. You might see messages like:
◦ "Found Proxy-Authorization header, parsing credentials" when the header is detected.
◦ "Parsed credentials successfully" along with the credential details.
◦ "Digest computation completed" showing a comparison between the expected and received response.
◦ Warnings if authentication didn’t go through due to response mismatches or incorrect credentials.
◦ A success message like "SIP invite authentication successful" when everything checks out.
1. These logs are really helpful to trace how the authentication is flowing and to spot any issues with the Proxy-Authorization header.
Simulating SIP Calls for Debugging
1. You can use the siptest package to set up a test client:
2. Start by initializing the client with your configuration details such as IP, port, number, and authentication credentials.
3. Then, use the Dial() method to make calls. This method:
◦ Sends an INVITE request.
◦ Handles 407 Unauthorized responses by parsing the Proxy-Authenticate headers.
◦ Computes the digest response and resends the INVITE with the Proxy-Authorization header included.
◦ Completes the call setup once it receives a 200 OK response.
1. The great thing is that the test client manages retransmissions and authentication challenges automatically, which makes debugging a lot smoother.
If you’d like, I’m here to help you set up the test client or walk you through interpreting the logs—just let me know!
Sources: test/integration/sip_test.go