[asterisk-users] Passing PRI traffic to remote * over IAX

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Nov 25 21:11:14 MST 2006


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 at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list