#20 Add STUN server support for correct NAT traversing.

v1.1.7
closed
nobody
STUN (1) NAT (1)
5
2013-12-12
2013-11-19
Anonymous
No

Need to add support stun option.
Then we behind the NAT and originate call to some one everything is ok. But then sever try place incoming call on us, it could reach the client, because client talk in this SIP URL wrong(local) port instead of external NAT port.

Maybe this open-source stun client-server app could help.
http://sourceforge.net/projects/stun/

P.S. Sorry for my bad english.

Discussion

1 2 3 > >> (Page 1 of 3)
  • Peter Quiring
    Peter Quiring
    2013-11-19

    Most SIP Servers have built in NAT suppport (such as Asterisk).
    JPL already includes a few methods to determine public IP address by using checkip.dyndns.org and connecting to TCP ports to detect public IP. - see SIPClient.java:findlocalhost().
    As for NAT traversal, most routers I deal with use Symmetrical NATing which STUN doesn't support anyways.
    Which SIP servers are you trying to connect to that do NOT support NATing?
    Even my little jPBXlite supports NATing built-in.

    I'm not saying no yet, just want to better understand first.

     
    Last edit: Peter Quiring 2013-11-19
  • Peter Quiring
    Peter Quiring
    2013-11-21

    TURN was added to relay data when the clients are behind Symmetrical firewalls.
    Although Asterisk will relay the data as well.

    ICE = STUN + TURN

    I would like to add this someday...time and motivation willing...

     

  • Anonymous
    2013-11-24

    Maybe I can interest you in approaching of "someday"? I am very interested in this feature. Please let me know if it is possible.

     

  • Anonymous
    2013-11-25

    If it is not a joke, then let me know how I can appreciate your efforts?

     

  • Anonymous
    2013-11-25

    Is PayPal suitable for you?

     
  • Peter Quiring
    Peter Quiring
    2013-11-25

    Not a joke, working on it now. Stun is complete, working on Turn now. Just trying to understand HmacSHA1 right now. Paypal will work fine. I will place donation info in the help box in the next release.

     

  • Anonymous
    2013-11-25

    Great! I will be very appreciated.

     
  • Peter Quiring
    Peter Quiring
    2013-11-26

    Ok, the code is written, now just need to debug. That could take days... :(

     
1 2 3 > >> (Page 1 of 3)


Anonymous


Cancel   Add attachments