Regarding Encryption in PJSIP on windows mobile.

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

 



Hi,
We are working on PJSIP 1.5 version on Windows mobile.
We are trying to implement encryption in PJSIP code WITHOUT enabling SRTP.
The following link gave us some insight on implementing the same.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-April/006979.html
As per suggestion in above post we tried to implement our encryption logic
in put_frame_imp() method after Encoding & before RTP encapsulation and only
for the following condition,
if (frame->type != PJMEDIA_FRAME_TYPE_NONE && frame->buf != NULL) // I
suppose this condition is to make sure the frame is *normal*
Similarly The decryption logic is been implemented in function get_frame()
in stream.c when it receives the *normal* frame and before
stream->codec->op->decode(..)
method is called.

But Still we are not getting the desired result. The voice at both the ends
is noisy and both the parties can only hear noise and nothing else.
The encryption/decryption logic  works correctly for strings so there should
not be any issue with it.

Can anyone please throw some light on it as where are going wrong and what
we need to do? Is the place for encryption or decryption is correct?

Thanks,
Sangram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100128/3f21eed2/attachment.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