I'm trying to establish SRTP call between zoiper 1.53 android and linphone windows desktop 4.1.1 through my own freeswitch server that works in proxy media mode.
Calls from linphone to zoiper succeed but if I call from zoiper linphone displays open lock (no encryption) and no audio sent or received. RTP packets are neither sent or received on linphone end. When encryption is disabled everything works. Encrypted calls between zoiper and other programs (tested zoiper desktop, eyebeam) work with the same server config. Also there're some errors in log about key size. Dont know if its relevant. v=0 o=linphone 2772 2720 IN IP4 192.168.4.2 s=Talk c=IN IP4 192.168.4.2 t=0 0 m=audio 7078 RTP/SAVP 112 101 a=rtpmap:112 speex/32000 a=fmtp:112 vbr=off a=rtpmap:101 telephone-event/32000 a=crypto:5 AES_CM_128_HMAC_SHA1_80 inline:yX3RTZ7U9Sin3sv/XFjJutnWHXukm4LJAlwXrVJs 2017-12-10 21:55:59:963 MESSAGE Changing [server] [INVITE] transaction [0D9A9B20], from state [PROCEEDING] to [ACCEPTED] 2017-12-10 21:55:59:963 MESSAGE Dialog [0A8AF1A0]: now updated by transaction [0D9A9B20]. 2017-12-10 21:55:59:963 MESSAGE Call 0D6F1120: moving from state LinphoneCallIncomingReceived to LinphoneCallConnected 2017-12-10 21:55:59:987 MESSAGE QT: "Delete notification:" NotificationReceivedCall_QMLTYPE_266(0x86c1fb8) 2017-12-10 21:55:59:987 MESSAGE Linphone core [004A4AC8] notified [call_state_changed] 2017-12-10 21:55:59:987 MESSAGE linphone_call_start_media_streams() call=[0D6F1120] local upload_bandwidth=[0] kbit/s; local download_bandwidth=[0] kbit/s 2017-12-10 21:55:59:987 MESSAGE Audio bandwidth for this call is 80 2017-12-10 21:55:59:987 MESSAGE Payload type [speex/32000] has explicit bitrate [80] kbit/s 2017-12-10 21:55:59:987 MESSAGE media_stream_set_srtp_recv_key(): key 66..8c stream sessions is [0840EBD0] >2017-12-10 21:55:59:987 ERROR Key size (45) doesn't match the selected srtp >profile (required 46) 2017-12-10 21:55:59:987 MESSAGE media_stream_set_srtp_send_key(): key c9..6c stream sessions is [0840EBD0] >2017-12-10 21:55:59:987 ERROR Key size (30) doesn't match the selected srtp >profile (required 46) _______________________________________________ Linphone-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/linphone-users
