Because you set the "udp_port" parameter. Remove that setting.

Regards,

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

On 10/17/2017 12:37 PM, Dragomir Haralambiev wrote:
Hi Bogdan,

Listening port work fine.
I ask why Opensips send relay BYE to 2010 (must be 5060).

Best regards,
Dragomir


On Oct 17, 2017 12:19, "Bogdan-Andrei Iancu" <[email protected] <mailto:[email protected]>> wrote:

    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 <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] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
    <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