voxter's picture

So i've noticed that when I call a DID that has been defined in an inbound route, my system first dials out over an outbound trunk (in this particular case a pri) and back in again to reach the inbound route.

This makes no sense to me, why would FreePBX not simply realize the DID you are calling is local and send you right into the inbound route directly?

I'd like to modify the code/extensions_additional.conf to include ext-did as one of the local context includes, but I figured i'd post the question here to figure out if there is some bigger reason for this, or an easier way to enable it?

voxter


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

As far as I know the inbound

jdaustin's picture

As far as I know the inbound route DID setting only checks when a call is coming in.
You can hard code that sort of thing by creating an extension with the same number and routing it however you want.


Im sure there are multitudes

voxter's picture

Im sure there are multitudes of workarounds, it just doesnt seem to make much sense to me that ext-did is not included in from-internal to begin with. I dont see any upside to calling out a trunk and back in to reach a number local to you, nor a downside to including your own DID's in the local dial plan?