[OpenSIPS-Users] multiple IP listen

Mickael HUBERT mickael at winlux.fr
Fri Apr 26 15:54:03 CEST 2013


Hi Marco,

see bellow my configuration, it's works ;)


/debug=3//
//log_stderror=no//
//log_facility=LOG_LOCAL0//
//
//fork=yes//
//children=4//
//
///* uncomment the next line to disable TCP (default on) *///
//disable_tcp=yes//
//
//port=5060//
//
///* uncomment and configure the following line if you want opensips to//
//   bind on a specific interface/port/proto (default bind on all 
available) *///
//listen=udp:1.1.1.1:5060//
//
//
//listen=udp:2.2.2.2:5060//
//
//
//listen=udp:3.3.3.3:5060//
//
//
//
//#Set the server to try to locate outbound interface on multihomed host. //
//#By default is not (0) - it is rather time consuming. //
//mhomed=1//
//
//
///* QOS *///
//tos=0x60//
//

/my ifconfig (in freebsd)/

em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 
mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
     ether *****
     inet ///1.1.1.1/ netmask 0xffffffc0 broadcast ****
     inet ///2.2.2.2/ netmask 0xffffffc0 broadcast ****
     inet ///3.3.3.3/ netmask 0xffffffc0 broadcast ****
     media: Ethernet autoselect (1000baseT <full-duplex>)
     status: active

/bye

Le 26/04/2013 15:21, Marco Grimandi a écrit :
>
> Hi all,
>
> I'm using a VM live OpenSIPS and when I try to listen SIP protocol in 
> multiple interface it doesn't work.
>
> This is what I see when I restart the opensips process:
>
> root at opensips:/usr/local/opensips_proxy/sbin# ./opensips restart
>
> Listening on
>
>              udp: 127.0.0.1 [127.0.0.1]:5060
>
>              udp: 192.168.89.230 [192.168.89.230]:5060
>
>              udp: 10.10.0.1 [10.10.0.1]:5060
>
>              tcp: 127.0.0.1 [127.0.0.1]:5060
>
>              tcp: 192.168.89.230 [192.168.89.230]:5060
>
>              tcp: 10.10.0.1 [10.10.0.1]:5060
>
> Aliases:
>
>              tcp: localhost:5060
>
>              udp: localhost:5060
>
> root at opensips:/usr/local/opensips_proxy/sbin#
>
> root at opensips:/usr/local/opensips_proxy/sbin#
>
> root at opensips:/usr/local/opensips_proxy/sbin#
>
> root at opensips:/usr/local/opensips_proxy/sbin# netstat -an | grep 5060
>
> udp        0      0 192.168.89.230:5060     0.0.0.0:*
>
> It seems to listen on every interface, but the only one is 192.168.89.230.
>
> I tried to modify opensips.cfg, opensips_proxy.cfg and also start 
> process with multiple --l options but it doesn't work.
>
> Can someone help me please?
>
> Marco
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130426/afdd133f/attachment.htm>


More information about the Users mailing list