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

2006-11-25 Thread Darren Wright
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


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

2006-11-25 Thread C F

Something like this should do (assuming you get 4 digits for DIDs):
oldoffice:
exten = _,1,Dial(IAX2/whatever/${EXTEN})
exten = _,2,Busy();if you get here then something is wrong with
the connection, so busy out.

newoffice:
exten = _,1,Noop(we got this call from the old office)

On 11/25/06, Darren Wright [EMAIL PROTECTED] 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




___
--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


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

2006-11-25 Thread Tzafrir Cohen
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#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--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