Hi Klaus, No.1 is added to the existing ticket, I think the cases are related: http://trac.pjsip.org/repos/ticket/467 No.2 should be good and useful. https://trac.pjsip.org/repos/ticket/479 Thanks for the reports (& request :D) nanang On 14/02/2008, Klaus Darilion <klaus.mailinglists at pernau.at> wrote: > 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 > > > _______________________________________________ > 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 >