<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Because you set the "udp_port" parameter. Remove that setting.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 10/17/2017 12:37 PM, Dragomir
Haralambiev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADzurOLnGeRa8M_P2E9doXxUc_hwn7pqXimP+ghVWa48F0BQkw@mail.gmail.com">
<div dir="auto">
<div>Hi Bogdan,
<div dir="auto"><br>
</div>
<div dir="auto">Listening port work fine.</div>
<div dir="auto">I ask why Opensips send relay BYE to 2010
(must be 5060).</div>
<div dir="auto"><br>
</div>
<div dir="auto">Best regards,</div>
<div dir="auto">Dragomir</div>
<br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Oct 17, 2017 12:19,
"Bogdan-Andrei Iancu" <<a
href="mailto:bogdan@opensips.org" moz-do-not-send="true">bogdan@opensips.org</a>>
wrote:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Dragomir,<br>
<br>
The udp_port parameter in the proto_udp module
changes the default UDP port (normally UDP) for
*all* UDP related operations, like listening and
sending.<br>
<br>
If you want to change only the listening port for
UDP (without globally affecting the default UDP
port), simply use the port option in the "listen"
statement, like <br>
listen=udp:OpenSIPS_IP:2010<br>
<br>
I will improve the docs on the udp_port for a better
explanation. <br>
<br>
Regards,<br>
</tt>
<pre class="m_3070828976344610564moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_3070828976344610564moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.<wbr>com</a>
</pre>
<div class="elided-text">
<div class="m_3070828976344610564moz-cite-prefix">On
10/17/2017 09:56 AM, Dragomir Haralambiev wrote:<br>
</div>
</div>
<blockquote type="cite">
<div class="elided-text">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>I see problem when Opensips relay BYE.</div>
<div><br>
</div>
<div>Opensips 2.3 is latest from GIT.</div>
<div><br>
</div>
<div>Opensips listen in diffrent port from 5060:</div>
<div>loadmodule "proto_udp.so"</div>
<div>modparam("proto_udp", "udp_port", 2010)</div>
<div><br>
</div>
<div>Opensips relay BYE</div>
<div><span style="white-space:pre-wrap"> </span>if
( t_relay() ) {</div>
<div><span style="white-space:pre-wrap"> </span>xlog("L_ERR",
"Send relay ($rm) to $rd:$rp ");</div>
<div><span style="white-space:pre-wrap"> </span>};</div>
<div><br>
</div>
<div>In log all is good:</div>
<div> Send relay (BYE) to ITSP_IP:5060</div>
<div><br>
</div>
<div>From TCPDUMP I see BYE is sent to 2010
instead 5060.</div>
<div><br>
</div>
<div> -- BYE -----> Opensips_IP:2010 -----
BYE ------> ITSP:2010</div>
<div><br>
</div>
<div>This is bug or problem of setting?</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Dragomir</div>
</div>
<br>
<fieldset
class="m_3070828976344610564mimeAttachmentHeader"></fieldset>
<br>
</div>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_3070828976344610564moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="m_3070828976344610564moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>