No sound over call

I want to call over asterisk to other number. Call goes through and I can receive it on the other side. However there is no sound. What could be the problem? Here is my relevant extension.conf:

[outgoing]
exten => _0X.,1,Set(CALLERID(num)=+380891205232)
    same => n,Dial(PJSIP/${EXTEN}@zadar-endpoint,60)
    same => n,Hangup()

exten => 3,1,NoOp(Option 3 selected – CONNECT TO OPERATOR)
    same => n,Playback(connecting)
    same => n,Goto(outgoing,0506279760,1)

Here is my zadar-endpoint:
[zadar-endpoint]
type=endpoint
transport=transport-udp
context=incoming
disallow=all
allow=alaw
allow=ulaw
outbound_auth=zadar-auth
aors=zadar-aor
from_user=844283
direct_media=no

It could be the firewall is blocking the RTP range.

That probably was the reason. Also I’ve added to my endpoint:
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
sound comes through now!

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