<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>if you don't provide an ip to the rtpenging manage function, then
rtpengine will use its own ip address -- in other words, rtpengine
changes always the ip in sdp.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 02/11/16 13:57, Yuriy Gorlichenko
wrote:<br>
</div>
<blockquote
cite="mid:CABSP_VcoRmjhYP3WDvBYce8JU1AOwcf5sXHu4GtJmg+5L-zFbg@mail.gmail.com"
type="cite">
<div dir="ltr">Yes I also using rtpengine. But not using media
param in it. Ok. I will try to fix it checking this staff. Let
you know if it will not help<br>
thx for advices</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-11-02 15:27 GMT+03:00
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:miconda@gmail.com"
target="_blank">miconda@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>It can also happen if another function that alters sdp
is used, such as those from rtpproxy or rtpengine
modules.</p>
<p>You can execute msg_apply_changes() before/after
fix_nated_sdp(), but it is better to find the reason and
do only one update of the ip in the sdp.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div>
<div class="h5"> <br>
<div class="m_7859758346839570051moz-cite-prefix">On
02/11/16 01:12, Aqs Younas wrote:<br>
</div>
<blockquote type="cite">
<p dir="ltr">Might be you are doing fix_nated_sdp,
multiple times in configuration. </p>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Nov 1, 2016 5:03 PM,
"Yuriy Gorlichenko" <<a
moz-do-not-send="true"
href="mailto:ovoshlook@gmail.com"
target="_blank">ovoshlook@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">I trying to use <br>
fix_nated_sdp with 0x02 and 0x08 flags for
changing ip addres and the SDP body part<br>
<br>
like <br>
<br>
fix_nated_sdp(10,"1.2.3.4")<br>
<br>
But for now it beaks SDP<br>
At the output i see next<br>
<br>
o=- 7300689428214760503 2 IN IP4 1.1.1.1
<div>c=IN IP4 1.1.1.1</div>
<div>1.2.3.41.2.3.4 <- is just a line
that added after fix_nated_sdp atthe end
of SDP body<br>
<br>
<div>kamailio -v</div>
<div>version: kamailio 4.4.3
(x86_64/linux) e91aec</div>
<div>flags: STATS: Off, USE_TCP, USE_TLS,
USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC,
F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY,
USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
USE_DNS_CACHE, USE_DNS_FAILOVER,
USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES</div>
<div>ADAPTIVE_WAIT_LOOPS=1024,
MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN
16, MAX_URI_SIZE 1024, BUF_SIZE 65535,
DEFAULT PKG_SIZE 8MB</div>
<div>poll method support: poll, epoll_lt,
epoll_et, sigio_rt, select.</div>
<div>id: e91aec</div>
<div>compiled on 07:26:14 Oct 18 2016 with
gcc 4.9.2</div>
<div><br>
</div>
<br>
</div>
<div> </div>
<div><br>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio
(OpenSER) - sr-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br>
</blockquote>
</div>
</div>
<br>
<fieldset
class="m_7859758346839570051mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="m_7859758346839570051moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="m_7859758346839570051moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
</blockquote>
</div></div><span class="HOEnZb"><font color="#888888"><pre class="m_7859758346839570051moz-signature" cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="m_7859758346839570051moz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="m_7859758346839570051moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<wbr>miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a moz-do-not-send="true" class="m_7859758346839570051moz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
</font></span></div>
______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</blockquote></div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre></body></html>