I am trying to set up a basic oubound call from asterisk v16.
Basically, I hear the first ring, but the line goes silent after that, but the call is received, answered and can be hanged up succesfully.
I do not have NAT enabled (to my knowledge) and I don’t see any errors showing up in the logs regardign the audio.
I’m not sure if it is a codec issue (I allow alaw/ulaw/gsm) and the SIP message shows Capabilities: us - (alaw|ulaw|gsm), peer - audio=(alaw)/video=(nothing)/text=(nothing), combined - (alaw), so I think the codec is fine as well.
chan_sip is no longer supported and is not in the source code of the latest two versions of Asterisk.
When using chan_sip, having this in the general section is dangerous.
You haven’t provided any logs, but my guess is that you’ve received a 183 response, and either no media, or early media is blocked somewhere. You may need to explicitly call Progress(), to ensure that early media is passed, or you can use Dial options to force ringback, even if there is early media.
These represent conflicting settings for the same option. The use of canreinvite for this option was deprecated about a decade ago.
This is not a documented parameter.
This is an often misunderstood setting, and the default,. “auto”, is almost always suitable.
Your sip.conf file is incomplete. It doesn’t define any peers, let alone one called OUTBOUND.