Asterisk with Dlink DVg-3004s

I’m trying to figure out how to use Asterisk with a Dlink DVg-3004s for handling my PSTN calls.

Anyone have any insight as to what commands I may need to use to allow asterisk to route calls to an external FXO gateway?