[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.

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

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:

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

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

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 T41S firmware kosif 0 372 12-19-2022 08:52 AM
Last Post: kosif
  Yealink T46S Forwarding does not work!! Müller 0 441 10-16-2022 03:38 AM
Last Post: Müller
  Yealink T42G Phone stuck at Welcome LFC 12 23,810 08-08-2022 04:16 PM
Last Post: markvdheijden
  Yealink T48S won't factory reset djcartledge 3 2,186 07-16-2022 05:16 PM
Last Post: complex1
  Ringer Loud on Yealink T46S when using WH62 Dual Headset KellyL@AlternateAccess.com 0 885 07-07-2022 05:06 AM
Last Post: KellyL@AlternateAccess.com
  Yealink T48s Firmware update failed dangmoss 2 4,143 02-19-2022 03:09 AM
Last Post: dangmoss
  Yealink T42S and T42G Phone stuck at Welcome Pierre06 7 6,981 01-10-2022 11:36 PM
Last Post: Pierre06
  NAP over Yealink T46 - not working Bernhard77 0 1,953 11-16-2021 09:15 PM
Last Post: Bernhard77
  SIP account on the Yealink T46U suddenly Not Registered kmsfn 0 1,993 10-26-2021 04:44 PM
Last Post: kmsfn
  Yealink, provisioning and Sophos firewall UCUC 4 5,343 10-07-2021 10:06 PM
Last Post: complex1

Forum Jump:

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

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