Re: [OpenSIPS-Users] Mediaproxy receives only

2009-09-10 Thread Schumann Sebastian
Hi Dan 

 -Original Message-
 From: users-boun...@lists.opensips.org 
 [mailto:users-boun...@lists.opensips.org] On Behalf Of Dan Pascu
 Sent: Thursday, 10. September 2009 01:09
 To: OpenSIPS users mailling list
 Subject: Re: [OpenSIPS-Users] Mediaproxy receives only
 
  What could be a possible cause of mediaproxy (current src) to only  
  receive media from both parties but not to relay it.
 
 There are a number of possible causes:
 
 1. Check that there is no iptables rule blocking the traffic
 2. Make sure IP forwarding is enabled:
 /proc/sys/net/ipv4/ip_forward should be 1
 3. Make sure rp_filter is disabled:
 /proc/sys/net/ipv4/conf/all/rp_filter is 0
 /proc/sys/net/ipv4/conf/default/rp_filter is 0
 /proc/sys/net/ipv4/conf/eth0/rp_filter is 0 (replace eth0 with  
 whatever interface you use)

The rp_filter has been set to 1. I have overlooked this.

Thanks for the helpful hint!

Best regards
Sebastian
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Mediaproxy receives only

2009-09-09 Thread Schumann Sebastian
Hi

What could be a possible cause of mediaproxy (current src) to only receive 
media from both parties but not to relay it.

This is dispatcher output:
media-dispatcher[32573]: debug: Issuing update command to relay at 
172.16.230.2
media-dispatcher[32573]: debug: Issuing update command to relay at 
172.16.230.2
media-dispatcher[32573]: debug: Issuing remove command to relay at 
172.16.230.2
media-dispatcher[32573]: debug: Got statistics: {'from_tag': 'lfizf', 
'dialog_id': '2065:505037704', 'start_time': 1252528738.319, 'timed_out': 
False, 'call_id': 'nonhfmzknhro...@sebastian', 'to_tag': '2437949283', 
'streams': [{'status': 'closed', 'caller_codec': 'G711a', 'post_dial_delay': 
10.5756189823, 'callee_codec': 'G711a', 'start_time': 0, 'caller_bytes': 
412800, 'callee_bytes': 549600, 'caller_packets': 2064, 'end_time': 55, 
'callee_remote': 'clientip:54624', 'caller_remote': 'clientip:57592', 
'media_type': 'audio', 'callee_local': mediaproxyip:50118', 'timeout_wait': 0, 
'caller_local': 'mediaproxyip:50116', 'callee_packets': 2748}], 'duration': 55, 
'to_uri': 'al...@example.com', 'from_uri': 'b...@example.com', 'callee_ua': 
'unknown agent', 'caller_ua': 'Twinkle/1.4.2'}

This is the relay output:
media-relay[22329]: debug: Received new SDP offer
media-relay[22329]: mediaproxy.mediacontrol.StreamListenerProtocol starting on 
50116
media-relay[22329]: mediaproxy.mediacontrol.StreamListenerProtocol starting on 
50117
media-relay[22329]: mediaproxy.mediacontrol.StreamListenerProtocol starting on 
50118
media-relay[22329]: mediaproxy.mediacontrol.StreamListenerProtocol starting on 
50119
media-relay[22329]: debug: Added new stream: (audio) clientip:57593 (RTP: 
Unknown, RTCP: Unknown) - mediaproxyip:50116 - mediaproxyip:50118 - 
Unknown (RTP: Unknown, RTCP: Unknown)
media-relay[22329]: debug: created new session nonhfmzknhro...@sebastian: 
b...@example.com (lfizf) -- al...@example.com
media-relay[22329]: debug: updating existing session nonhfmzknhro...@sebastian: 
b...@example.com (lfizf) -- al...@example.com
media-relay[22329]: debug: Received updated SDP answer
media-relay[22329]: debug: Got initial answer from callee for stream: (audio) 
clientip:57593 (RTP: Unknown, RTCP: Unknown) -mediaproxyip:50116 - 
mediaproxyip:50118 - clientip:54624 (RTP: Unknown, RTCP: Unknown)
media-relay[22329]: debug: Got traffic information for stream: (audio) 
clientip:57593 (RTP: Unknown, RTCP: clientip:57593) - mediaproxyip:50116 - 
mediaproxyip:50118 - clientip:54624 (RTP: Unknown, RTCP: Unknown)
media-relay[22329]: debug: Got traffic information for stream: 
(audio)clientip:57593 (RTP: clientip:57592, RTCP: clientip:57593) 
-mediaproxyip:50116 - mediaproxyip:50118 -clientip:54624 (RTP: Unknown, 
RTCP: Unknown)
media-relay[22329]: debug: Got traffic information for stream: (audio) 
clientip:57593 (RTP: clientip:57592, RTCP:clientip:57593) - 
mediaproxyip:50116 - mediaproxyip:50118 - clientip:54624 (RTP: 
clientip:54624, RTCP: Unknown)
media-relay[22329]: debug: removing session nonhfmzknhro...@sebastian: 
b...@example.com (lfizf) -- al...@example.com
media-relay[22329]: (Port 50116 Closed)
media-relay[22329]: (Port 50117 Closed)
media-relay[22329]: (Port 50118 Closed)
media-relay[22329]: (Port 50119 Closed)

Traffic goes from both clients to the mediaproxy, but the mediaproxy only sends 
one packet in the beginning to both clients and then not again...

Dispatcher is colocated with OpenSIPS and relay is on a separate machine.

Any further info needed?

Thanks!

Best regards
Sebastian
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users