Routing calls from IVR to sip trunk

I set up a Custom extension this way :

in custom “dial” section :

sip/siptrunkname/remotepbxextension

Putting this custom extension as target of an inbound route it works 100%

Is this the right way to do ??
What if I get i.e. 100 DID numbers from my provider and I must route 30 of them to a remote pbx ? Should I create 30 Inbound routes & custom extensions ?

Thank you