Pages

28/04/2021

WTF AWS CLI? "No credentials found in credential_source referenced in profile"

I was recently debugging a bash script that was failing on an EC2 instance. The script was fairly straight forward and was using the AWS CLI to make some changes to the AWS config, however it was failing with the error "Error when retrieving credentials from Ec2InstanceMetadata: No credentials found in credential_source referenced in profile"

The error implies that the correct credentials cannot be found via the Metadata API, right? Apparently not.



21/04/2021

A Yealink T46S locked to Zoom! - How to unlock...ish

I recently purchased a Yealink T46S SIP phone from EBay as I wanted something with more line keys that supported Opus.

When it arrived it had an active account on it, which would potentially allow me to make outbound calls billed to the original owner. Unfortunately this is quite common for phones acquired on EBay and is incredibly poor practise.

The phone was quite well locked down with an admin password and the SIP signalling being sent via TLS, but a packet capture revealed the phone communicating with IPs belonging to Zoom.

Being an upstanding citizen I wanted to factory reset the phone so I could use it on my own service. The admin password prevented me from reseting the phone via the menu, but Google revealed that pressing the OK button for 5 seconds will factory reset the phone, or so I thought!



31/03/2021

Opportunistic SRTP Support in VoIP Devices

The widely used VoIP signalling protocol SIP has a bad reputation. In my opinion it's mostly unwarranted. If you don't stray too far off piste and have a decent NAT traversal behaviour things will generally work fine.

In the ideal world everything would be encrypted, but there's a plethora of end of life and unsupported devices out there, and devices which may support encryption are often configured by end users that may not enable it.

Enter Opportunistic SRTP - a method of encrypting the audio stream if it's supported by the other end, and it's not supported just fall back to plain old RTP

Photo by Markus Spiske on Unsplash

01/03/2021

Factory Reseting a Polycom VVX 450

I recently acquired a Polycom VVX 450 off Ebay for £30, which is an absolute bargain for a modern 12 Line SIP phone with OPUS / SILK support. 

There was some risk however, it had previously been used by a VoIP provider that shares its name with a character in the Greek Alphabet and some providers lockdown the configuration to make it challenging to make them work with another provider.

Getting around these locks can occasionally involve intercepting traffic and redirecting it to your own TFTP or HTTP server, however with this phone it didn't seem to be the case.


19/02/2021

Yealink T42G attended transfer fix

I recently started using a Yealink T42G - An older (but still very functional) SIP Desk Phone. Weeks passed without any issues, until I attempted an attended transfer. I'd receive a call, chat to them, hit transfer, dial the next number, hit send, and my desk phone would start ringing again displaying "ReCall" on the screen. If you answer the call, the leg to the phone you wish to transfer to will drop.

Fortunately I was eventually able to find a fix. I presume the same fix will work on the other T4X series phones, including the T40, T41 T46 and T48 

22/11/2020

Battery Charger Discharger Board - WTF ?

 I am currently building an Amateur Radio project that will run off batteries. In order to stop over-discharging that battery I need a controller to cut the power before damage occurs. I wanted something "off-the-shelf" so I bought a  Battery Charger Discharger Board from Ebay.

The instructions are abysmal so I did some testing and managed to figure out how to operate it.


30/10/2020

TimeTools T1000/2 GPS Receiver

I've recently got around to attempting to revive the Time Source project at the London Hackspace that was originally started by russss - a GPS synchronised Lucent/Symmetricom KS-24361 REF-0 reference clock with a 10MHz output (GPSDO). 

Russ was originally using a TimeTools T1000/2 GPS Receiver, a device with very little information available online. I contacted TimeTools for a copy of the manual but got told rather bluntly that it was over 10 years old, no longer supported, and probably didn't work anyway because of the GPS Rollover.

Its a fairly simple device so I figured it wouldn't take too much to figure out, and it turns out it does still work after all. 

TimeTools GPS Reciever
TimeTools GPS Reciever