Thank you for responding.
In switchvox, I set up a SIP provider, following the instructions the were given in the "peering two switchvox servers".
I basically added a VOIP SIP provider.
In advanced I set the Host Type to "PEER".
In the "Account ID" and "Password" i entered the same ones as "username" and "secret" in Asterisk.
Am I missing something else?