List Info

Thread: Need dialplan help for * to * to POTS




Need dialplan help for * to * to POTS
user name
2006-07-13 15:04:00
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

  _XXXXXXX,n,Dial(IAX2/User:192.168.0.0">1234192.168.0.0/$)    ; 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:192.168.0.0">1234192.168.0.0/999 999})    

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

Jim Freeze



Jim Freeze



Need dialplan help for * to * to POTS
user name
2006-07-14 16:22:27
Sorry about the blank reply all..

I think you are overcomplicating it. The servers just appear to be individual extensions of each other.. You need to create an extension that matches the extensions of the other server and local users should be able to dial that and it'll go IAX to the other server.. When the call reaches the "other server" it should dump into a context just like a local phone on that server... You don' t need to do any funny business with extensions here..

BTW, dialplan switches and DUNDI both do this nicely..
-Brett




On 7/13/06, Jim Freeze <freeze.org">asteriskfreeze.org > wrote:
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&nbsp;

&nbsp; _XXXXXXX,n,Dial(Zap/g1,$)

What would that look like for office B? Maybe

  _XXXXXXX,n,Dial(IAX2/User:192.168.0.0" title="mailto:1234192.168.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">1234192.168.0.0/$)    ; this gets me to office A, but with many extensions

Should I instead route these through a special extension to office A?


Then in office A at 999999 do something like

&nbsp;   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

Jim Freeze



Jim Freeze




_______________________________________________
Austin-Asterisk-Users-Group mailing list
bybent.com">Austin-Asterisk-Users-Groupbybent.com
http://buzzard.onr.com/mailman/listinfo/austin-asterisk-users-group
AAUG Web Site: http://aaug.bybent.com/



Need dialplan help for * to * to POTS
user name
2006-07-14 16:19:31


On 7/13/06, Jim Freeze <freeze.org" title="mailto:asteriskfreeze.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> asteriskfreeze.org> wrote:
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&nbsp;

&nbsp; _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

Jim Freeze



Jim Freeze




_______________________________________________
Austin-Asterisk-Users-Group mailing list
bybent.com" title="mailto:Austin-Asterisk-Users-Groupbybent.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> Austin-Asterisk-Users-Groupbybent.com
http://buzzard.onr.com/mailman/listinfo/austin-asterisk-users-group
AAUG Web Site: http://aaug.bybent.com/



[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )