<div dir="auto"><div>Have you tried to see if the router has any SIP ALG enabled this might create such issues, Thanks.<div dir="auto"><br></div><div dir="auto">Best Regards,</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 8, 2021, 19:59 Marek Greško <<a href="mailto:mgresko8@gmail.com">mgresko8@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have an asterisk setup using pjsip. Everything used to work<br>
correctly until one remote site changed internet provider and thier<br>
router does not support sip protocol algorithms.<br>
<br>
It works for some time, but then suddenly audio stops working both<br>
directions. When this happens I see RTP responses going out to the<br>
local address of the natted phone, not to the natted address. The<br>
problem appears for the phones independently.<br>
<br>
The asterisk is connected to the internet with public static IP address.<br>
<br>
The pjsip config contains:<br>
<br>
[aor]<br>
type=aor<br>
qualify_frequency = 60<br>
max_contacts=1<br>
remove_existing = yes<br>
<br>
[endpoint]<br>
type = endpoint<br>
context = internal<br>
dtmf_mode = rfc4733<br>
disallow = all<br>
allow = alaw<br>
allow = ilbc<br>
allow = g729<br>
allow = gsm<br>
allow = g723<br>
direct_media = no<br>
allow_subscribe = yes<br>
subscribe_context = blf<br>
rewrite_contact = yes<br>
rtp_symmetric = yes<br>
force_rport = yes<br>
<br>
<br>
Am I missing something? Why the communication breaks suddenly?<br>
<br>
Thanks<br>
<br>
Marek<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div></div></div>