Auto-dial-out specific trunks

Hello,

I have multiple asterisks behind an opensips. I am telling to the opensips which trunk the call should be sent to I am setting the X-Gateway value in an agi script on the asterisk side. My question would be if I can use the same method for setting up an auto-dial-out call to test the trunk configuration.

Maybe this is not the simplest way to do it so. If someone can give me another solution I am open to sugestions.

Thanks,
zozo6015