I thought I had this fixed but it's broken again.
Outgoing calls via VOIP.ms fail with "TRUNK Dial failed due to CHANUNAVAI"
In voip.ms's console, I can see that the trunk is connected.
I turned on debug logs under Asterisk, SIP Settings, PJSIP, Enable Debug. This generates tons of logs. With what appears to be the interesting part being
"SIP/2.0 401 Unauthorized"
I'm putting redacted snip of the log below.
I gave full logs to voip.ms and they responded "Your logs don't send any INVITE attempt sent by your trunk, the only INVITE was sent by linphone
So make sure to enable sip debug for the SIP trunk only and check the INVITE sent by the pbx"
Is there a setting to send an INVITE by the trunk?
Also I don't see a debug option for just the trunk?
Any suggestions on what I'm missing?
Thanks much!
Mark
<--- Transmitting SIP response (471 bytes) to TLS:174.249.147.101:6353 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TLS 192.168.25.7:45030;rport=6353;received=174.249.147.101;branch=z9hG4bK.d5t5dndpp
Call-ID: LOVlPSpCZY
From: <sip:5229@my-server-ip-redacted>;tag=5hJt30NHi
To: <sip:number-I-dialed@my-server-ip-redacted>;tag=z9hG4bK.d5t5dndpp
CSeq: 20 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1742265066/2412a40dcf868532813e78ac1b48a326",opaque="091d40ef16fc94dd",algorithm=MD5,qop="auth"
Server: FPBX-17.0.19.24(21.6.0)
Content-Length: 0
Outgoing calls via VOIP.ms fail with "TRUNK Dial failed due to CHANUNAVAI"
In voip.ms's console, I can see that the trunk is connected.
I turned on debug logs under Asterisk, SIP Settings, PJSIP, Enable Debug. This generates tons of logs. With what appears to be the interesting part being
"SIP/2.0 401 Unauthorized"
I'm putting redacted snip of the log below.
I gave full logs to voip.ms and they responded "Your logs don't send any INVITE attempt sent by your trunk, the only INVITE was sent by linphone
So make sure to enable sip debug for the SIP trunk only and check the INVITE sent by the pbx"
Is there a setting to send an INVITE by the trunk?
Also I don't see a debug option for just the trunk?
Any suggestions on what I'm missing?
Thanks much!
Mark
<--- Transmitting SIP response (471 bytes) to TLS:174.249.147.101:6353 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TLS 192.168.25.7:45030;rport=6353;received=174.249.147.101;branch=z9hG4bK.d5t5dndpp
Call-ID: LOVlPSpCZY
From: <sip:5229@my-server-ip-redacted>;tag=5hJt30NHi
To: <sip:number-I-dialed@my-server-ip-redacted>;tag=z9hG4bK.d5t5dndpp
CSeq: 20 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1742265066/2412a40dcf868532813e78ac1b48a326",opaque="091d40ef16fc94dd",algorithm=MD5,qop="auth"
Server: FPBX-17.0.19.24(21.6.0)
Content-Length: 0

