TURN server authentication

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

 



Hi Thomas,

If the TURN allocation fails you will 401 Unauthorized
response for STUN Allocate Request.

In order to keep track of current TURN
state you can install callback turn_on_state ()

and after the state of
TURN client changes from Allocating to Ready means allocation is successful
and if it changes from Allocation to Deallocating with error response of
401

means Authorization failed.

Regards,

Gaurav

On Mon, 4 Feb 2013
16:30:38 +0100, Thomas Martin wrote:
> Hi everybody,
> 
> in order to
utilise TURN with PJSUA, a turn-server with login credentials
> must be
specified in e.g. pjsua_media_config.
> 
> Question: 
> 
> How can be
determined, whether the authentication with the particular TURN
> server
was actually successful (and TURN is available) 
> or has failed e.g.
because of incorrect credentials, or other reasons? 
> 
> There does not
seem to be a dedicated callback for that.
> 
> Thanks in advance for
responding.
> 
> Regards,
> 
> -Thomas
>
_______________________________________________
> Visit our blog:
http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130204/cd0a089c/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