FF
ffffa9v ffffa4 ffffb8 ffffb6 ffffc0
Thu, Feb 27, 2014 3:03 AM
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
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