Hiya anyone around to help a quickie sip outbound ...
# telephony
n
Hiya anyone around to help a quickie sip outbound debug? It appears on outbound calls, we are passing the provider the livekit realm and not the outbound trunk's realm, and getting back a 403. What am i missing? Proxy-Authorization: Digest username="user_****", realm="******.sip.livekit.cloud", nonce="47fde987-6994-42d5-baaa-d0e94dbcc4e2", uri="sip:+1305331****@1337.sip.********.net;transport=udp", algorithm=M , cnonce="01ee8e53f5dc2107", qop=auth, nc=00000001, response="2a0fe512a3bd08f666a24284e8ee4562"
r
not much there to make it possible to debug
n
How do you figure? Cloud is sending the realm as the Livekit name, not the server nname in the outbound config. Of course the provider doesnt know what realm is sip.livekit.cloud.
r
ok
n
That is why I am getting a 403. the realm should be the trunks server name.
The proxy auth realm is not valid
1. Specify the correct address: The
address
field in the trunk configuration must be the exact endpoint of your SIP trunking provider. This is the proxy that will issue the
Proxy-Authenticate
header.
livekit is using itself as the realm and not the address
r
I can't really help. There is nothing there that will help me look it up to see what is going on. I hope you sort it out.
n
What are you looking for? A session ID?
r
that would help
n
Ah one sec
r
This fails when you are trying to transfer a call?
or just any outbound call?
n
Just any outbound call atm
r
It is using the realm returned by the SIP services 407
You have the PCAP for the call? Have a look at the first 407 returned and the subsequent INVITE
n
Ok lemme look again...
We're not getting a 407. Its going right to a 403
r
Then how is the HMAC going out that you showed above?
I see a 407 went out, then we responded with INVITE with the AUTH info based on the REALM in the 407
packet #3
n
Thanks! Looking...
It looks like I'm going to have to get someone more advanced on my end to take a look. Thx CWilson. Update soon
r
Good luck
🙌 1