[Spce-user] Ideas for this issue? 2 trunks, same peer?

Andreas Granig agranig at sipwise.com
Fri Oct 19 17:36:08 EDT 2012



On 10/19/2012 10:56 PM, Skyler wrote:
> Hi Dave,
>  
>  The only way I can see this would work is if you have multiple external
> IP's (eth0:0). Though you're right, spce is not designed for multiple
> IPs so routing would break. There would need to be custom coding in
> ngcp-lb and proxy for an e2address to work on your side.

Have you ever tried to set kamailio.lb.extra_sockets in config.yml? It's
new in v2.6 (although not really documented yet), and the syntax is like
this:

kamailio:
  lb:
    extra_sockets:
      - udp:1.2.3.4:5070
      - tls:1.2.3.5:5090

The "ngcpcfg apply" automatically syncs the sockets to the DB, and there
is a peer preference where you can set in a drop-down which outbound
socket to use.

If a subscriber uses this socket for registering to the system, the Path
handling in the lb/proxy will automatically take care to use this socket
for outbound calls towards this subscriber.

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20121019/00767ed2/attachment-0001.asc>


More information about the Spce-user mailing list