I understand that chan_sip is no longer being developed, but for now I am stuck with it.

Recently I discovered  that when realtime is used the port  is ignored when used with host=dynamic and defaultip=x.x.x.x.

        if (port && !realtime && peer->host_dynamic) {
                ast_sockaddr_set_port(&peer->defaddr, port);
        } else if (port) {
                ast_sockaddr_set_port(&peer->addr, port);
        }

Is there a reason why port value is ignored if the peer is setup in realtime?

--
Best Regards:
Marcin Groszek


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to