we have an old Sip provider (for the company’s extensions) here and we also installed a Freepbx server, that we are messing around with, a configured FxO Gateway (extension 000281) and a 217 extension on my desk, so when call my FXO (000281) then type my desk extension (217) it would dial here.
What i’m trying to do is, if I can make a dialplan on the FreePBX or the gateway, which when someone calls dials 217 it would call 000281 + 217 = (the fxo gateway then my extension) which would reach me directly… is it possible?
2XX being the extension behind the FXO I still dont have access, but is acessible by the FXO (if i call 000281 and then type the 2XX ext I can reach someones phone)
000281 being the extension registered on the FXO, which is able to reach the companies extensions 2XX
i’d also need a “custom dialplan” as lorne said in the other post, so a created a Custom Destination:
extest,2XX,1
that’s correct?
do i also need to create the 2xx range extensions even they are not from my pbx?
I created a Misc Application with an extension 218, and set its destination to the FXO extension (000281) with this, it calls fxo with another number still not what i need
i need to call a number 2XX it would call the FXO extension and dial another extension, thus dialing here
wow thanks! it kinda worked! for some reason asterisk doesnt recognize the 2XX only the full number, i did one with my extension here 217 and it worked! do you have any idea why it doesnt read with the 2xx?
I missed the underscore that indicates a pattern in the dial plan. This is what happens when you are in a hurry for a family dinner… I fixed my example in my answer. Good catch @Stewart1.