​Does anyone have example what to return in xml_curl request for purpose=gateways for profile.

I want to feed gateways definition in external profile from database. 

Is there such solution to return only gateways or do I need to feed entire sofia.conf if I want to have gateways stored in db?

Best regards, Gregor​