[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yealink SRTP on Metaswitch Perimeta failures
Author Message
Jason77 Offline
Banned

Posts: 3
Joined: Feb 2017
Post: #1
Yealink SRTP on Metaswitch Perimeta failures
It looks like there is a bug which causes inbound calls using SRTP on Metaswitch to fail. The issue is that the Yealink (I am using a T48G for my testing so do not know if all phones have the same issue) is not properly handling the offer/answer exchange of the MKI. Per RFC 4568, the answer must correspond to the offer but it looks like the Yealink is not doing this. Below is what I am seeing:

Offer:
m=audio 19098 RTP/SAVP 0 8 18 9 101
a=rtpmap:101 telephone-event/8000
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:tcZhj5iMNMuoU+JiBfJw1m4xhAk2Ubua90y6EAjb|2^20|1:1
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:BbivO5FOFa8aXP3DNWUzViTBxVVrRfNGJqrmixiq|2^20|1:1
a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:I2KC6b2vuZlMeHXcoDTp5zTClupjOt+yXWZbC9cO|2^20
a=crypto:4 AES_CM_128_HMAC_SHA1_32 inline:7OaE95M+RqgBuSLx7RH4LCcw70BvHLFqBphaugCG|2^20

Answer:
m=audio 11780 RTP/SAVP 0 101
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:ZDBlYzBjMWZjMzM2NjgzNzgyN2Y5M2RhMjQ1Mzhj
a=sendrecv

If you look, you can see that the answer is replying that it wants to use crypto:1. However, the answer does not include the MKI and byte length field of 1:1. Since the MKI and byte length were given in the offer it must also be used in the answer. Since crypto:3 does not include the mki and byte length had the Yealink selected crypto:3 the call would have completed just fine. I have created a Lua SDP editing script to remove crypto:1 and crypto:2, which contain the mki and byte length parameters, and the calls work fine but it would be preferable for the Yealink to handle the Key parameters properly. Other phones we have tested all pick crypto:3 as their key and work fine, Yealink is the only phone I have found so far which does not handle the crypto key parameters properly.
03-25-2017 08:59 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
Yealink SRTP on Metaswitch Perimeta failures - Jason77 - 03-25-2017 08:59 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Yealink T46U - OpenVPN to MikroTik Router isaiahsiewert 0 437 01-19-2024 12:04 AM
Last Post: isaiahsiewert
  Connect Yealink T46U to FreePBX system via Synology Site to Site VPN TF2023 0 753 10-10-2023 11:48 PM
Last Post: TF2023
  Yealink SIP-T40P Firmware UnitedTech_Support 1 2,008 05-05-2023 08:07 PM
Last Post: complex1
Question Yealink SIP-T31, 46U, 48U do not display the number of the called subscr Fedor.astrakhan 1 1,778 04-26-2023 10:05 PM
Last Post: Yisroel_MongoTEL
  Yealink T41S firmware kosif 0 1,947 12-19-2022 08:52 AM
Last Post: kosif
  Yealink T46S Forwarding does not work!! Müller 0 1,349 10-16-2022 03:38 AM
Last Post: Müller
  Yealink T42G Phone stuck at Welcome LFC 12 30,281 08-08-2022 04:16 PM
Last Post: markvdheijden
  Yealink T48S won't factory reset djcartledge 3 5,113 07-16-2022 05:16 PM
Last Post: complex1
  Ringer Loud on Yealink T46S when using WH62 Dual Headset KellyL@AlternateAccess.com 0 2,126 07-07-2022 05:06 AM
Last Post: KellyL@AlternateAccess.com
  Yealink T48s Firmware update failed dangmoss 2 7,391 02-19-2022 03:09 AM
Last Post: dangmoss

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication