linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Linphone Android Cipher modification


From: Shruti Goyal
Subject: Re: [Linphone-developers] Linphone Android Cipher modification
Date: Mon, 5 Oct 2015 16:08:40 +0530

Thanks Johan.

I tried as you suggested. 
Still no luck. Can you guide us how to ensure SRTP is working ? (for it we have set SRTP media_encryption_mandatory =1 in res -> raw -> linphonerc_factory under sip) Is it the right way ?

Please go through the LOGS attached in this email.



With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell : +91 9872048482 | Skype : shrutigoyal703



On Tue, Sep 29, 2015 at 5:46 PM, Johan Pascal <address@hidden> wrote:
Hi,
I fixed the problem in liblinphone, commit 10c8d03e4433c466d0ab6e19b629d7ec7dcde3be.

This commit is not yet part of the linphone-android depot, but you can get it in android by updating linphone submodule in your local linphone-android depot(you may also need to update oRTP, mediastreamer2 and bellesip to be able to build).

regards,

johan


On 28/09/15 08:31, Shruti Goyal wrote:
Both are Linphone Android.

I think the issue is that both are using different cipher_key.

here is the total debug log :-

E/Linphone﹕ Unsupported crypto suite 'AEAD_AES_256_GCM_8' with parameters ''
E/Linphone﹕ Unsupported crypto suite 'AEAD_AES_128_GCM_8' with parameters ''
E/Linphone﹕ Unsupported crypto suite 'AES_CM_192_HMAC_SHA1_80' with parameters ''
E/Linphone﹕ Unsupported crypto suite 'AES_CM_192_HMAC_SHA1_32' with parameters ''
I/Linphone﹕ "Extension 1001" <sip:address@hidden> is contacting you.
I/Linphone﹕ New call state [IncomingReceived]
W/Linphone﹕ Routing audio to speaker, disabling bluetooth audio route
D/Linphone﹕ Audio focus requested: Granted
E/MediaPlayer-JNI﹕ QCMediaPlayer mediaplayer NOT present
E/MediaPlayer﹕ Should have subtitle controller already set
D/Linphone﹕ call accept
I/Linphone﹕ Connected.
I/Linphone﹕ New call state [Connected]
D/Linphone﹕ Stopped ringing, routing back to earpiece
W/Linphone﹕ Routing audio to earpiece, disabling bluetooth audio route
D/Linphone﹕ ---AudioManager: set mode to MODE_IN_COMMUNICATION
E/Linphone﹕ Error decoding b64 srtp recv key
E/Linphone﹕ Key size (30) doesn't match the selected srtp profile (required 46)
I/Linphone﹕ New call state [StreamsRunning]
I/Linphone﹕ New call active : acquiring incall (CPU only) wake lock
W/MediaPlayer﹕ mediaplayer went away with unhandled events
 I/Linphone﹕ Proximity sensor detected, registering
D/Linphone﹕ Proximity sensor report [5.000305] , for max range [5.000305]




With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell : +91 9872048482 | Skype : shrutigoyal703



On Mon, Sep 28, 2015 at 11:39 AM, Johan Pascal <address@hidden> wrote:
Hi Shruti,
What is the other SIP client? Linphone Android too?

Can you post the whole debug log please.

thanks

johan


On 28/09/15 08:04, Shruti Goyal wrote:
Hi Johan,

I am getting this error while trying to enable SRTP in Linphone Android. 

Error decoding b64 srtp recv key
Key size (30) doesn't match the selected srtp profile (required 46)

Do you know something regarding this ?



With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell : +91 9872048482 | Skype : shrutigoyal703



On Sat, Sep 26, 2015 at 5:05 PM, Shruti Goyal <address@hidden> wrote:
Thank you Johan.





With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell : +91 9872048482 | Skype : shrutigoyal703



On Fri, Sep 25, 2015 at 3:27 PM, Johan Pascal <address@hidden> wrote:
Hi,
setting the available crypto suite for SRTP is done through the srtp_crypto_suites property in the sip section of the linphone configuration file.
By setting in the [sip] section:
srtp_crypto_suites=AES_CM_256_HMAC_SHA1_80

you will allow this suite only.

To configure it on Android, you shall modify the linphonerc_factory file in res/raw (for phone) and res/raw-sw600dp (for tablets).  Recompile and install.

regards,

johan


On 25/09/15 11:18, Shruti Goyal wrote:
Do any one know something related to this ?

Any help will be appreciated!!



With Warm Regards,

Shruti Goyal



On Thu, Sep 17, 2015 at 3:18 PM, Shruti Goyal <address@hidden> wrote:
Hi Devels,

How can i disable other ciphers except than "AES_CM_256_HMAC_SHA1_80" in Linphone Android?

Do anybody have some idea?



With Warm Regards,

Shruti Goyal





_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers





_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


Attachment: SRTP_Logs
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]