undrhil.1528785@bloglines.com
2006-Jun-04 22:59 UTC
[Asterisk-Users] Campusing two Asterisk boxes?
I have been looking around some and I can't seem to find anything which will answer my question. If I have two Asterisk boxes in different locations which are linked to each other over the internet, can I configure the boxes to use each other's lines as local? In other words, let's say Site A has Phone1 for a 1FB line going into it on an FXO port. Site B has Phone2 for a 1FB line going into it on an FXO port. Is there a way to configure Site A to use Phone2 from Site B and vice versa? Undrhil
Yes... it is very easy to do...
; on box a
exten => _NXXNXXXXXX,1,DIal(IAX2/boxb/${EXTEN})
;on box b
exten => _NXXNXXXXXX,1,Dial(IAX2/boxa/${EXTEN})
you just need to make sure that the context on the each side will have a
match for passing in ${EXTEN} to the other side
[from-boxa]
exten => _NXXNXXXXXX,1,Dial(ZAP/g0/${EXTEN})
[from-boxb]
exten => _NXXNXXXXXX,1,Dial(ZAP/g0/${EXTEN})
> I have been looking around some and I can't seem to find anything which
> will
> answer my question. If I have two Asterisk boxes in different locations
> which
> are linked to each other over the internet, can I configure the boxes to
> use
> each other's lines as local?
>
> In other words, let's say Site A has Phone1
> for a 1FB line going into it on an FXO port. Site B has Phone2 for a 1FB
> line going into it on an FXO port. Is there a way to configure Site A to
> use Phone2 from Site B and vice versa?
>
> Undrhil
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>