[SR-Users] multiple instances on different ports

Uriel Rozenbaum uriel.rozenbaum at gmail.com
Mon Jul 26 22:55:54 CEST 2010


Hi,

try using force_send_socket but you'll have to declare the socket with
5060 as well

http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x#force_send_socket

Cheers,
Uriel

On Mon, Jul 26, 2010 at 5:38 PM, Robert R <rob1485 at gmail.com> wrote:
> Hi,
>
> I am trying to run multiple different instances of openser on the same
> server using different ports.
> Regardless of receiving INVITE on any of the ports (5061, 5062, ...)  I want
> openser always to proxy the message to port 5060.
>
>  invite:5061 ---> openser --> invite:5060
>  invite:5062 ---> openser --> invite:5060
>
> By adding two listen ports as follow, openser sends the traffic to the same
> outgoing port as the incoming port:
>
> listen=udp:209.16.123.160:5061
> listen=udp:209.16.123.160:5062
>
> Is there a way to hard code the outgoing port? or I should overwrite the
> port?
>
> Thanks,
> R
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>



More information about the sr-users mailing list