juniorlm87 / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

"STUN for sip" and "TURN for Media" does not work #2859

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Settings\Network:
  Enable STUN, STUN servers:stun.counterpath.com
  Enable TURN, TURN server: <turn-only server ip>, user: <turn user> ...
2.Accounts:
  STUN for SIP: default
  STUN for Media: disable
  Registration URI: sip:pbxes.org
  Realm: *
3.Dial "*43" echo test
  I can hear the guide voice from pbxes,
  but the "i" dialog reads:
  "#0 audio PCMU @8kHz, sendrecv, peer=76.191.104.53:44014"
  the peer ip "76.191.104.53" is the pbxes's ip, not the <turn-only server ip>.

What is the expected output? What do you see instead?
the peer ip should be <turn-only server ip>, ie. "TURN for media" works

What version of the product are you using? On what device / operating
system?
latest google play version or nightly version 1.02.03 r2456.

Original issue reported on code.google.com by kexianbin@diyism.com on 3 Jan 2015 at 5:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The real problem is 76.191.104.53 can send voice data into china, but from 
china csipsimple client can't send my voice data to 76.191.104.53(GFW blocked 
it), so i setted up a turn server(turn service only) to proxy voice media 
stream.

Original comment by kexianbin@diyism.com on 3 Jan 2015 at 5:21

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 22 Jun 2015 at 11:31