Hi Dragomir,

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.

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
        listen=udp:OpenSIPS_IP:2010

I will improve the docs on the udp_port for a better explanation.

Regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

On 10/17/2017 09:56 AM, Dragomir Haralambiev wrote:
Hello,

I see problem when Opensips relay BYE.

Opensips 2.3 is latest from GIT.

Opensips listen in diffrent port from 5060:
loadmodule "proto_udp.so"
modparam("proto_udp", "udp_port", 2010)

Opensips relay BYE
if ( t_relay() ) {
xlog("L_ERR", "Send relay ($rm) to $rd:$rp ");
};

In log all is good:
 Send relay (BYE) to ITSP_IP:5060

From TCPDUMP I see BYE is sent to 2010 instead 5060.

 -- BYE -----> Opensips_IP:2010 ----- BYE ------> ITSP:2010

This is bug or problem of setting?

Best regards,
Dragomir


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to