[A*UG] Need dialplan help for * to * to POTS
Jim Freeze
asterisk at freeze.org
Thu Jul 13 11:04:00 CDT 2006
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,${EXTEN})
What would that look like for office B? Maybe
_XXXXXXX,n,Dial(IAX2/User:1234 at 192.168.0.0/${EXTEN}) ; this
gets me to office A, but with many extensions
Should I instead route these through a special extension to office A?
_XXXXXXX,n,Dial(IAX2/User:1234 at 192.168.0.0/999 999})
Then in office A at 999999 do something like
999999,n,Dial(Zap/g1,${EXTEN})
Only question is, how do I pass the actual called extension through.
Or is there a better way of doing this?
Thanks
Jim Freeze
Jim Freeze
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://buzzard.onr.com/pipermail/austin-asterisk-users-group/attachments/20060713/fe87feec/attachment.htm
More information about the Austin-Asterisk-Users-Group
mailing list