| Hi
I am setting up the phone system for to connected offices. In office A, I have incoming POTS connected to *.
In office B, I have a leased line connecting it to office A.
My plan is to put * in B and create an IAX2 connection between them. That is not a problem. What I'm not seeing right now is what the dialplans need to be for office B to make a connection to the POTS on office A, as if B was connected directly to POTS lines.
In office A, the outgoing call dialplan is simple
_XXXXXXX,n,Dial(Zap/g1,$)
What would that look like for office B? Maybe
Should I instead route these through a special extension to office A?
Then in office A at 999999 do something like
999999,n,Dial(Zap/g1,$)
Only question is, how do I pass the actual called extension through.
Or is there a better way of doing this?
Thanks
|