I'm trying this library using the test service: http://tryit.jssip.net/

When I register, using WS, not WSS, peer is registered succesfully

When I make a call i got

"rejecting secure audio stream without encription details"

Do you know a possible reason ?

1 Answer 1


You're attempting the impossible. You cannot both have secure symmetric encryption and send keys in the clear. If you want to send the keys in the clear, you cannot use SRTP. If you want to use SRTP, you need a secure channel to send the keys on.

  • ... I'm sending what ??! I've not control over the client I linked in the above post. So please, tell me how to modify asterisks to work with in this situation, because I cannot change client ...
    – realtebo
    Jul 17, 2013 at 16:49
  • Either use WSS or don't use SRTP. But WS and SRTP can't work together. It's impossible. Jul 17, 2013 at 19:46
  • ok ... how can I avoid to use srtp ? Must I modify what in asterisk ?
    – realtebo
    Jul 17, 2013 at 20:06
  • 1
    Just remove the security requirements, then the connections will work without security. Jul 18, 2013 at 0:02
  • @DavidSchwartz - I used these -> paste.ubuntu.com/7695345 settings for my users. I am also getting the same error. Can you please suggest me what I need to change so that call can be made successfull. I am calling from 1113 (web browser chrome) to 1114 (Xlite). Jun 24, 2014 at 14:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.