[Spce-user] multi-homed config

gerry kernan gerry.kernan at infinityit.ie
Thu Mar 6 04:48:19 EST 2014


Hi

Ive added this line to config.yml , in the kamailio section . But I get this error when I run ngcpcfg apply. Am I putting it in the correct place?

!=Can't use string ("test:udp:192.10.10.11:5060") as a HASH ref while "strict refs " in use at /usr/share/ngcp-ngcpcfg/helper//sync-db line 119.

kamailio:
  lb:
    debug: 'no'
    extra_sockets: test:udp:192.10.10.11:5060
    max_forwards: 10


Regards

Gerry

-----Original Message-----
From: Andrew Pogrebennyk [mailto:apogrebennyk at sipwise.com] 
Sent: 05 March 2014 10:43
To: spce-user at lists.sipwise.com
Cc: gerry kernan
Subject: Re: [Spce-user] multi-homed config

Hi,
media proxy is currently limited to one interface. It would still work, though, if your asterisk can send RTP from behind NAT to the public IP.

As for SIP, you should define extra_sockets option in config.yml:
extra_sockets:
      test: udp:10.15.20.108:6060
If your asterisk registers on  SPCE as subscriber, that's it. Kamailio will select correct socket for inbound call to that subscriber.

if your asterisk connects as a peer, you will need to select "test" in outbound_socket peer preference (and system will route calls to this specific peer out via specific socket).

Andrew

On 03/04/2014 09:47 PM, gerry kernan wrote:
>  
> 
> Hi
> 
>  
> 
> Is it possible to configure SipWiseCE to be multi-homed. I have 
> SipWiseCE with a public address and would like to be able to connect 
> some subscribers to an asterisk server with is reachable via 2^nd NIC
> eth1 which has a private IP address. Can I run sip and media proxy on 
> the 2^nd NIC aswell as Eth0.
> 
> EG
> 
>  
> 
>                 SIpWise   Eth0 - Public IP 
> 
>                                    Eth1 - Private IP
> 
>  
> 
>                 Asterisk Eth0 - Private IP
> 
>  
> 
>  
> 
> Best Regards,
> 
>  
> 
> Gerry Kernan
> 
> InfinityIT
> 
>  
> 
> Suite 17 The Mall | Beacon Court | Sandyford | Dublin 18
> 
> p: +35312930090 | f: +35312930137 | m: +353861709790
> 
> logo <http://www.infinityit.ie/>





More information about the Spce-user mailing list