[Spce-user] Direct RTP on LAN / Signaling on Internet Host

Robert Cuaresma rcuaresma at telcon.es
Fri Jul 29 02:18:37 EDT 2016


Hi Álvaro,

You have to configure “advertise ip” param into network.yml with this command:
ngcp-network --set-interface=eth0 --advertised-ip=x.y.z.w

x.y.z.w should be replaced with your data-center public IP natted to SipWise.

Saludos,
Robert Cuaresma
TELCON,S.A.
De: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] En nombre de Raúl Alexis Betancor Santana
Enviado el: jueves, 28 de julio de 2016 20:02
Para: alvaro avello <alvaro.avello at gmail.com>
CC: spce-user at lists.sipwise.com
Asunto: Re: [Spce-user] Direct RTP on LAN / Signaling on Internet Host

Putting a sipwise instance on a private IP behind NAT its calling for problems, if you don't know how to correctly setup it.


________________________________
De: "Alvaro Avello" <alvaro.avello at gmail.com<mailto:alvaro.avello at gmail.com>>
Para: spce-user at lists.sipwise.com<mailto:spce-user at lists.sipwise.com>
Enviados: Jueves, 28 de Julio 2016 17:20:22
Asunto: [Spce-user] Direct RTP on LAN / Signaling on Internet Host
Hi guys. We are building an proof of concept for internal use of sipwise and have some issues dealing with an architecture.
Let's say we have an office with a couple of yealink phones and a gateway FXO for some lines. On an external datacenter, we publish to internet a sipwise instance in order to allow registrations and deal with signaling.

So far, we are able to register phones, but each time we make a call, we have one way audio. if we use sngrep, we see two calls in state "CALL SETUP", but if you pick up the call, just one way audio.

 Our experience in asterisk + yealink phones, the setup is fairy simple. You set the peers to allow direct rtp, and even if they are behind nat, they can register and the rtp flow is normal.

our network setup :


/etc/ngcp-config/network.yml

---

hosts:

  self:

    dbnode: '1'

    eth0:

      ip: 10.1.2.21

      netmask: 255.255.255.0

      type:

        - web_ext

        - sip_ext

        - rtp_ext

        - web_int

        - ssh_ext

    interfaces:

      - lo

      - eth0

    lo:

      cluster_sets:

        - default

      ip: 127.0.0.1

      netmask: 255.255.255.0

      shared_ip: []

      shared_v6ip: []

      type:

        - sip_int

        - ha_int

        - aux_ext

        - ssh_ext

        - api_int

      v6ip: '::1'

    role:

      - proxy

      - lb

      - mgmt

      - rtp

      - db



Attached some screenshots of sngrep and costumer configuration

Thanks in advance.

Saludos / Regards,

Alvaro

_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com<mailto:Spce-user at lists.sipwise.com>
https://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20160729/ce439e3d/attachment-0001.html>


More information about the Spce-user mailing list