Yealink Forums

Full Version: Add MAC to UA when registering line
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I manage Yealink phones via Metaswitch. We switched to Yealink phones exclusively, and they do not add the MAC address to the SIP registration. This would be extremely helpful for us to know whether multiple registrations on a line are from line keys on other phones, or if the phone has re-registered because of a network issue and didn't de-register properly.

If I see multiple registrations, and the MAC address in the UA is different from the phone's, then I know that another phone has a line appearance for this line. If I see multiple registrations and the MACs are the same as the phone, then I know there was a network glitch and I need to delete and re-register the phone. Without the MAC in the UA, I usually have to guess, because I don't have time to check every other phone for a matching line appearance.

I tried adding adding "static.auto_provision.user_agent_mac.enable" as a custom setting to a T54W, but it didn't help.

This is an example of a Yealink registration:
sip:e3669e357dxxa9fe40633cxx3b08@10.xx.xx.10:5060
02/02/23 03:49:14 AM UTC-5
Yealink SIP-T54W 96.86.0.45
Yealink SIP

This is an example of a Polycom registration:
sip:e5234afxx46e19c7a2dxxa39b21e@10.xx.xx.10:5060
02/02/23 10:17:06 AM UTC-5
PolycomVVX-VVX_250-UA/6.3.0.14929_64167f7db3b0
PolycomVVX-VVX
(02-02-2023 03:21 AM)Wrongnumber Wrote: [ -> ]I manage Yealink phones via Metaswitch. We switched to Yealink phones exclusively, and they do not add the MAC address to the SIP registration. This would be extremely helpful for us to know whether multiple registrations on a line are from line keys on other phones, or if the phone has re-registered because of a network issue and didn't de-register properly.

If I see multiple registrations, and the MAC address in the UA is different from the phone's, then I know that another phone has a line appearance for this line. If I see multiple registrations and the MACs are the same as the phone, then I know there was a network glitch and I need to delete and re-register the phone. Without the MAC in the UA, I usually have to guess, because I don't have time to check every other phone for a matching line appearance.

I tried adding adding "static.auto_provision.user_agent_mac.enable" as a custom setting to a T54W, but it didn't help.

This is an example of a Yealink registration:
sip:e3669e357dxxa9fe40633cxx3b08@10.xx.xx.10:5060
02/02/23 03:49:14 AM UTC-5
Yealink SIP-T54W 96.86.0.45
Yealink SIP

This is an example of a Polycom registration:
sip:e5234afxx46e19c7a2dxxa39b21e@10.xx.xx.10:5060
02/02/23 10:17:06 AM UTC-5
PolycomVVX-VVX_250-UA/6.3.0.14929_64167f7db3b0
PolycomVVX-VVX

Hi,

Is this perhaps the parameter you are looking for?

Code:
#Send MAC address in UA; 0-Disable, 1-Enable(00:11:22:33:44:55), 2-Enable(001122334455);
sip.mac_in_ua = 2
Worked like a charm. Thank you!
Reference URL's