<div dir="auto">Are you missing a fix_natted_contact somewhere? That should in most cases eliminate the need of stun.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 7, 2019, 2:14 PM Mark Farmer <<a href="mailto:farmorg@gmail.com">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Never mind, it seems the issue was triggered by my soft client not using STUN<div><br></div><div>Fixed that bit now :)</div><div><br></div><div>Mark.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 7 Jun 2019 at 10:53, Mark Farmer <<a href="mailto:farmorg@gmail.com" target="_blank" rel="noreferrer">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Sorry - version info:<div><br></div><div><div>opensips -V</div><div>version: opensips 2.4.5 (x86_64/linux)</div><div>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div><div>poll method support: poll, epoll, sigio_rt, select.</div><div>git revision: d025b4f61</div><div>main.c compiled on 11:39:27 Apr 12 2019 with gcc 7</div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 7 Jun 2019 at 10:45, Mark Farmer <<a href="mailto:farmorg@gmail.com" target="_blank" rel="noreferrer">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi everyone, I'm trying to solve an issue related to reception of early media. I am getting 183 messages back to establish the audio path but OpenSIPS is passing the 183 back to an Asterisk box without changing the SDP "c" parameter. So Asterisk tries to send audio direct instead of to the rtpproxy.<div><br></div><div>Doing some debugging, I can see that my reply route doesn't seem to be matching the 183 because I never get any logs from the reply route. Can anyone see anything wrong with it? I've checked the routing script & the reply route seems to be armed.</div><div><br></div><div><div>onreply_route[DROUTING] {</div><div><br></div><div> if (is_method("BYE|CANCEL")) {</div><div> sip_trace("htid","d");</div><div> rtpproxy_unforce();</div><div> }</div><div><br></div><div> #if ( $rs >= 200 )</div><div> #$acc_extra(to_usr) = $tU;</div><div><br></div><div> if ($rs=~"(2[0-9][0-9])|(183)" && has_body("application/sdp")) {</div><div> xlog("Processing reply $fU");</div><div> if (is_from_gw("1")) {</div><div> xlog("Reply from Asterisk PBX");</div><div> setflag(INT_R);</div><div> } else if (is_from_gw("2")) {</div><div> xlog("Reply from Provider");</div><div> setflag(EXT_R);</div><div> }</div><div> }</div><div><br></div><div> if (isflagset(INT_R)) {</div><div> remove_hf("P-Asserted-Identity");</div><div> rtpproxy_answer("corwfei");</div><div> } else if (isflagset(EXT_R)) {</div><div> rtpproxy_answer("corwfie");</div><div> }</div><div>}</div><div><br></div><div><br><div>Many thanks for any & all help.</div><div>Mark.</div><div><br><div dir="ltr" class="m_5676541932172832746gmail-m_770630850393826494gmail-m_-1204057044634730411gmail_signature"></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_5676541932172832746gmail-m_770630850393826494gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank" rel="noreferrer">farmorg@gmail.com</a></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_5676541932172832746gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank" rel="noreferrer">farmorg@gmail.com</a></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>