[Spce-user] no audio

Daniel Grotti dgrotti at sipwise.com
Thu Nov 21 06:41:32 EST 2013


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
> 




More information about the Spce-user mailing list