DID single stage dial out


I have a local DID access number (e.g. 12345678) which is set to be peered in to a extension of my SIP gateway (12345678@example.com). And I have an extension 12345678 in my default context.

I want to have it setup like a single stage dialing. Users should be be able to dial out straight.

For example if they want to call a US number 1 (224) 544-2000. They just dial 1234567812245442000.

Currently my setup is like a 2 stage dialing. So I was thinking If i have a way to have the dialed digits captured together with access number and send it to my out context. May be like using DISA?

Appreciate if someone could help in giving some tips or samples on how i can achieve this.