SRTP feature requests

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

 



Hi!

I did some SRTP tests and it mostly works, but:

1. It does not work if pjsip sends SAVP and 200 OK contains AVP - then 
pjsip has an open call but does not send RTP. The logs say:

  16:02:54.437   pjsua_call.c SDP negotiation has failed: SDP media 
transport type mismatch in offer/answer (PJMEDIA_SDPNEG_EINVANSTP) 
[status=220046]

What should happen now? Should pjsua-lib hang up the call? It does not 
and the call changes to "confirmed".

If the application should send the BYE, then there should be some 
indication, e.g.     PJSUA_CALL_MEDIA_SAVP_FAILED in the 
call_media_state callback. Or is there already a callback which tell the 
application about the SRTP failure?

2. If SRTP is optional and a call is established, it would be good to 
retrieve SRTP status from pjsua (e.g. pjsua_call_get_info()) to indicate 
SRTP status to the user.

thanks
Klaus




[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