Does PJSUP support stun refresher and pure stun over TCP/TLS?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, 
I want to use pure STUN solution (without TURN/ICE) in my platform and have 
some question about STUN in pjsip.

(1) Does pjsip support refresher mechanism ?  
---------
For example, I hope to configure stun refresher timer to 60 sec.
And stun client would send STUN binding request to server every 60 
sec.
It would re-register if it find the mapped-address has been 
changed.
----------
If yes, how to configure it?

(2) How to support STUN over TCP/TLS ?
As I know, pjsip support RFC3489 and RFC5389.
RFC 3489 (Simple Traversal of UDP through NATs) is a complete NAT traversal 
solution.
RFC 5389 (Session Traversal Utilities for NAT) is now a tool that can be 
used to produce a NAT
traversal solution (Ex. TURN , ICE).

If I only configure STUN (without ICE/TURN), can it support stun over TCP / TLS?
For UDP case in pjsip,
it would call pjsua_transport_create() --> create_sip_udp_sock() 
--> pjstun_get_mapped_addr2() to get mapped-address.
But how to handle it by TCP/TLS ?Or it can only be handle by TURN and ICE 
??



Regards,
Terry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140227/012195b5/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux