<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body 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="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 09:56 AM, Dragomir
Haralambiev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADzurOJm+U75HxYShqPHjoMOYw9ccbshoEzcwdsuXTHPoymb1Q@mail.gmail.com">
<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"> </span>if ( t_relay() ) {</div>
<div><span style="white-space:pre"> </span>xlog("L_ERR", "Send
relay ($rm) to $rd:$rp ");</div>
<div><span style="white-space:pre"> </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="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>