I have purchased 1 DID from Argentina, I have configured it in FreePBX, according to the parameters that sent me. Incoming calls work normally, but when making outgoing calls, when you make the connection from-trunk it says “DOWN” and the outgoing call does not respond. I noticed that when I dial the number and start to manage the call, the ring is not heard.
Extensions.conf:
[From-trunk]
Exten => _X., 1, Ringing
Exten => _X., N, Answer
Exten => _X., N, Echo
Exten => _X., N, Wait (600)
Exten => _X., N, Hangup
Sip.conf:
[Trunk-us]
Host = 46.19.209.14
Dtmfmode = rfc2833
Dtmf = rfc2833
Type = peer
Context = from-trunk
Insecure = very
Nat = never
Allow = all
Thank you very much for the information. I have sent the credentials and after many tests and errors I have managed outgoing calls. I give them how it should be configured.
I have created two trunks in one of incoming calls and other outgoing calls (outcoing calls with credentials)