On Sat, 30 May 2009, Barry Marchant wrote:
I have been trying for some days to get ekiga-2.0.12 to operate.  Iget
connected to the Ekiga OK but test calls to [email protected] fail with an
error msg reading ' STUN could not create RTP/RTCP socket pair;'.

google reports plenty of instances of this but I have not found
a solution yet.
Ekiga usess the sip protocol to send & manage the voice stream. The actual
voice packets are encoded into UDP packets. The layout of the data in the
UDP packets is known as the RTP format.

The management of the media stream is handled with other UDP packets.
The management packets contain information about which codec is to be used, which ports for the media stream, what the name of the software application is etc.

So- the voice between you and the other person (caller and callee) goes in these RTP packets - which firewalls inevitably tend to block. To get the RTP through the firewalls, there are several approaches. 1)Use firewalls that understand SIP. These firewalls understand the management packets and so knows which udp ports to open to let the media stream go through. The media stream can be on any udp port number (well, any port above 1200 or so.) If you are using the firewall on your linux box, you might be able to turn on sip proxy in the firewall. 2)Extra code has been added to the Ekiga code base to get around this. There is STUN (simple traversal udp over nat) TURN (Transfer Udp with Relay Network). ICE was another, but cannot remember all it stands for. 3)Try adjusting your firewall. There is, I think, a firewall test utility in Ekiga. You might have a cone symmetric or something. Cannot remember all the details, but there is a firewall type that is really bad with voip
packets from sip&h323 applications.


error msg reading ' STUN could not create RTP/RTCP socket pair;'.
your error message is basically,
  "Ekiga tried to get audio through to the other end, but failed, cause
  (most likely) a firewall got in the way."

The most surefire way of fixing this?
 Use skype.
Seriously, you can fiddle for hours getting this to work.

To get skype to work, you only have to hassle your way through sound card issues.

To get ekiga to work, you have to hassle your way through sound card issues and firewall issues.

Derek.
-- Derek Smithies Ph.D.
IndraNet Technologies Ltd.
Email: [email protected]
ph +64 3 365 6485
Web: http://www.indranet-technologies.com/

Reply via email to