[Spce-user] no audio

Miguel Rios miguelrios35 at yahoo.com
Thu Nov 21 07:00:49 EST 2013


Thanks for your help. Indeed it is listening on eth0 on my public IP, not 0.0.0.0 as I'd stated.
Here's my network config:

---
hosts:
  self:
    interfaces:
      - lo
      - eth0

    eth0:
      ip: mypublicIP
      netmask: 255.255.240.0
      type:
        - sip_ext
        - rtp_ext
        - web_ext
    lo:
      ip: 127.0.0.1
      netmask: 255.255.255.0
      shared_ip: []
      shared_v6ip: []
      type:
        - sip_int
        - ha_int
        - web_ext
        - sip_ext
        - rtp_ext
        - web_int
      v6ip: '::1'
    role:
      - proxy
      - lb
      - mgmt


Here's my netstat output. I added port 5071 manually as per the instructions, and indeed I can register TLS port 5071 from my CSipSimple client:

12:listen=udp:127.0.0.1:5060
13:listen=tcp:127.0.0.1:5060
15:listen=tls:127.0.0.1:5071
17:listen=udp:mypublicip:5060
18:listen=tcp:mypublicip:5060
20:listen=tls:mypublicip:5071
23:listen=udp:[::1]:5060
24:listen=tcp:[::1]:5060
26:listen=tls:[::1]:5071
29:# additional sockets to listen on, if any
33:listen=udp:127.0.0.1:5060
35:listen=tcp:127.0.0.1:5060



So it seems that it is properly configured, no? Perhaps the problem lies with ICE negotiation in CSipSimple...
How does spce deal with ICE on the server side of things?

Thanks



On Thursday, November 21, 2013 11:43 AM, Daniel Grotti <dgrotti at sipwise.com> wrote:
 
Hi,
kamailio must run on eth0 (usually), not on 0.0.0.0.
You should have something like:

hosts:
  self:
    eth0:
      ip: 10.15.20.110
      netmask: 255.255.255.0
      type:
        - web_ext
        - sip_ext
        - rtp_ext
        - ssh_ext
    interfaces:
      - lo
      - eth0
    lo:
      ip: 127.0.0.1
      netmask: 255.255.255.0
      shared_ip: []
      shared_v6ip: []
      type:
        - sip_int
        - ha_int
        - web_int
      v6ip: '::1'
    role:
      - proxy
      - lb
      - mgmt



That ip will be use also from mediaproxy to performa mediarelay.
So LB will listen on:

root at spce:~# grep -nr "listen" /etc/kamailio/lb/kamailio.cfg
12:listen=udp:10.15.20.110:5060
13:listen=tcp:10.15.20.110:5060
15:listen=tls:10.15.20.110:5061
19:# additional sockets to listen on, if any
23:listen=udp:127.0.0.1:5060
25:listen=tcp:127.0.0.1:5060



Daniel



On 11/21/2013 12:31 PM, Miguel Rios wrote:
> Hi,
> 
> I've set up a simple spce v 3.0 install on debian 7 but I'm experiencing
> no audio.
> 
> When I ran the setup script I noticed that my kamailio instance was only
> listening on localhost.
> I changed that in network.yml and now kamailio listens on 0.0.0.0 and my
> CSipSimple clients can register OK.
> 
> However, when I have 2 registered CSipSimple clients try to call each
> other, I can answer but there's no audio.
> 
> I see that CSipSimple log shows ICE negotiation in progress but it never
> concludes. Now given that the 2 clients were on the same LAN behind NAT,
> shouldn't they have negotiated a media path directly between them with
> their private IPs?
> 
> Since the spce setup script ended up putting kamailio listening only on
> localhost, could the same have happened to media proxy? Where do I need
> to check to make sure the install correctly configured the interfaces?
> 
> Also, what are the recommended settings to use with CSipSimple and spce
> (ICE/STUN/TURN wise)? I have ICE enabled on CSipSimple and I thought
> that would be enough, no?
> 
> Lastly, I tried sending an IM through CSipSimple, which uses SIP SIMPLE,
> but I got an error. Does spce not support SIP SIMPLE messaging?
> 
> Thanks
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user

> 

_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
http://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/20131121/d259310a/attachment-0001.html>


More information about the Spce-user mailing list