Probier es mal so, bin leider Unterwegs und kann es nicht testen.
Code
function getPhoneRandomNumber()
local numBase0 = math.random(043,043)
local numBase1 = math.random(0,9999)
local num = string.format("%03d-%04d", numBase0, numBase1)
return num
end