Darren Wright
2006-Nov-25  18:46 UTC
[asterisk-users] Passing PRI traffic to remote * over IAX
We are moving our office, but our PRI isn't moving for a while yet. I'd like to setup a box at the old office to receive -ALL-- PRI traffic and send it over an IAX trunk to another Trixbox install at the new office. Everything should go, period. Any ideas on a simple dialplan to make this happen? Thanks, -Darren -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061125/95d3a5a9/attachment.htm
Something like this should do (assuming you get 4 digits for DIDs):
oldoffice:
exten => _XXXX,1,Dial(IAX2/whatever/${EXTEN})
exten => _XXXX,2,Busy();if you get here then something is wrong with
the connection, so busy out.
newoffice:
exten => _XXXX,1,Noop(we got this call from the old office)
On 11/25/06, Darren Wright <dwright@d2-tech.com>
wrote:>
>
>
>
> We are moving our office, but our PRI isn't moving for a while yet.
>
>
>
> I'd like to setup a box at the old office to receive ?ALL-- PRI traffic
and
> send it over an IAX trunk to another Trixbox install at the new office.
> Everything should go, period.
>
>
>
> Any ideas on a simple dialplan to make this happen?
>
>
>
> Thanks,
>
>
>
> -Darren
>
>
> _______________________________________________
> --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
>
>
>
Tzafrir Cohen
2006-Nov-25  21:11 UTC
[asterisk-users] Passing PRI traffic to remote * over IAX
On Sat, Nov 25, 2006 at 08:46:27PM -0500, Darren Wright wrote:> We are moving our office, but our PRI isn't moving for a while yet. > > > > I'd like to setup a box at the old office to receive -ALL-- PRI traffic > and send it over an IAX trunk to another Trixbox install at the new > office. Everything should go, period. > > > > Any ideas on a simple dialplan to make this happen?Send PRI calls to the context 'pri' (context=pri in zapata.conf), define an IAX peer to connect to the new box in iax.conf (say, [newboxpeer]), and use something along the lines of: [pri] exten => ._,1,Dial(IAX2/newboxpeer/${EXTEN}) -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir