Does the Edge server communicate with SQL directly?

Yes, most functionalities of the SIP Fitler on the Edge require DB connectivity.