[OpenSIPS-Devel] STUN module
Razvan Pistolea
razvy000 at yahoo.com
Fri Sep 4 17:43:56 CEST 2009
Hi Gelf,
Thx for the enthusiasm!
The plan was to wait until Monday for an announcement but what the hell.
I will answer inline:
--- On Fri, 9/4/09, Thomas Gelf <thomas at gelf.net> wrote:
> From: Thomas Gelf <thomas at gelf.net>
> Subject: [OpenSIPS-Devel] STUN module
> To: devel at lists.opensips.org
> Date: Friday, September 4, 2009, 6:47 AM
> Razvan Pistolea wrote:
> > Added new module - STUN server(rfc 3489)
> implementation.
>
> Hey, that's great!! In my understandings this is not a
> complete
> implementation of RFC 5389 - but it should provide
> some/most of
> it's functionality. Is this assumption correct?
>
> As far as I understood it suffices to provide basic STUN
> support
> - and that would be all that I need ;-)
Yes basic stun is what the clients(and soft phones) mainly use.
>
> There are however some remaining questions:
>
> - I'm currently using stund, clients have configured either
> no port
> (using the default 3478) or have manually set their
> port to 3478
>
> - As far as I understood OpenSIPS' STUN module is not able
> to run
> on multiple ports (i.e. 5060 as of rfc5389 and 3478
> as of rfc3489),
> however it suggests using 3479 as secondary port
> (and 5060 as the
> default one)
>
You can change the secondary port(3479) to any port...say (3478) and then you don't have to make any change to the clients and it even helps the SIP server (not having to differentiate between incoming STUN/SIP messages).
> - Therefore: to provide RFC 5389 and 3489 support without
> requiring
> customers to reconfigure their clients, I'll remain
> with two STUN
> servers, stund and OpenSIPS?!
>
Yes. Until i implement rfc 5389.
> - And if so: I need to choose a port different from 3479 as
> secondary
> port for OpenSIPS, do I? Which one would you
> suggest?
random() pick is fine.
The alternate port is used when a client requests see test 3(http://en.wikipedia.org/wiki/STUN)
>
> - Is there an easier solution? Is it possible to drop stund
> and use
> the OpenSIPS module on port 3478 and 5060?
It can work on port 3478 and 5060(primary_port) but you will have (just) a STUN rfc 3478 server.
>
> - Are there clients already making use of RFC 5389?
I don't know.
>
> Best regards,
> Thomas Gelf
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list