Breakdown of Justo cuando salía, sonó el teléfono.
el teléfono
the phone
salir
to go out, to leave / to appear, to come out (on the body)
sonar
to ring / to sound (a certain way)
cuando
when (not in questions)
justo
just, exactly (just in time, just what I need)
Elon.io is an online learning platform
We have an entire course teaching Spanish (Spain) grammar and vocabulary.