2nd stage from dialplan

Hello,

Is possible to have 2 SIP providers and dialing 0 one of them gives me tone and dialing 1 the other one. So it would work as a analog PBX.

thanks in advance