No sound on outbound calls

I`m facing problem with no sound on FreePBX v14. FreePBX is hosted in contabo VPS installed from the iso provided in FreePBX. I have check the NAT setting and they are set to YES and there is ip address in NAT settings under General SIP Settings. Under Chan SIP Settings i have set NAT to yes. IP Configuration to Static IP.
Here is the simple of the sip trunk

username=XXXX
type=friend
trustrpid=no
sendrpid=yes&pai
secret=XXXX
qualify=yes
nat=yes
insecure=invite,port
host=XXXX
dtmfmode=rfc2833
disallow=all
context=from-pstn
canreinvite=no
amaflags=default
allow=ulaw&alaw&g726&g722

I can receive calls without problem but i cant make and hear calls from my PBX
Logfile information:

[2018-02-19 18:23:44] VERBOSE[17670][C-0000000d] pbx.c: Executing [9XXXXXXX@from-internal:3] ExecIf(“PJSIP/950-0000000e”, “0 ?Set(CDR(accountcode)=)”) in new stack

CDR Reports
Mon, Feb 19 2018 7:25 PM 1519064748.30 “Igor” <900> “name” Dial 9XXXXXXX NO ANSWER 00:17

Did you ever figure out what the issue was?

nat=yes is deprecated, use nat=force_rport,comedia

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.