I can't find the CFR cite, but use of mobile devices and video capture, e.g. photos, is prohibited at a FIS without CBP permission. If OP wanted to call his attorney, he needed to ask a Supervisor. While the response is theoretically discretionary, I strongly suspect that OP would have been escorted somewhere to make the call.