On Thu, Jun 7, 2012 at 9:55 AM, Guilherme Balena Versiani <guibv at nymgo.com>wrote: > Hello Benny, > > As I don't have much time to be checking the PJSIP code to make a patch, > I've used another approach: > > -- Instead of having two transports, disconnect UDP and then connect the > TURN one, I've created an "special" TURN transport that contains a UDP > transport inside. This is like "inheriting" the UDP transport, in some way. > -- It has an additional function, and by calling it I open the TURN and > this special transport redirects the SIP traffic through the TURN server. > > I think this would be a "safer" way, as it is not usual for PJSIP > applications to be registering/unregistering transports during the normal > execution of the program. > > Okay. I'm curious though, why do you need to use TURN to get pass firewall? Can't you just hide it with TLS and some non-standard port? Cheers Benny -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120607/0a16fbe8/attachment.html>