[Asterisk-Users] Realtime Multiple Asterisk boxes and rtcachefriends MWI

Kristian Larsson kristian at netatonce.se
Mon Jan 2 07:43:34 MST 2006


I'd be very interested in hearing more about this
as I am in need of a similar installation. Anyone
have a hint?

  Kristian

On Thu, Dec 29, 2005 at 02:14:29PM -0500, Asterisk wrote:
> I am working an a multiple box asterisk solution.   I need phones to be able to login to multiple asterisk servers.  I need Phone A to be able to register to switch A and call Phone B that is registered to switch B. 
> 
>  
> 
> With rtcachfriends=no  this can be done, However I then loss MWI and "sip show peers" plus if a Phone becomes unreachable the phone I get dead air until the dial timeout reached. 
> 
>  
> 
> With rtcachfriends=yes  I get MWI & "Sip show peers", However I cannot call phones that register to a different switch.  
> 
>  
> 
> My current working solution is to have rtcachfriends=yes.  Place the call via sip if dialstatus= chanunavaliable  
> 
> I then route the call to the other switch via an IAX trunk.  Everything works but I don't have a true load balance soltuion. Plus it really only works for 2 boxes. It get out of hand when I add more.. 
> 
>  
> 
> I have tried using AGI and dialing the "full contact" found in the SIP realtime table. It works if the phone is active, but if the phone is no active I get dead air until the dial timeout is reached. This will not work as I cannot have 12 sec of dead air.    So is there a way know the status of a SIP UA?  It is it in the SIP realtime data?   I looked at regseconds but it does not seem to be it because I can have a UA that is unreachable and the regseconds are not expired.  
> 
>  
> 
> Could realtime be altered to add a status filed to the SIP realtime table?   
> 
>  
> 
> Or is there a asterisk configuration option that I missed?       
> 
>  
> 
> This is my first post so please forgive me if I posted this in the wrong list.   
> 
>  
> 
>  
> 
> Many thanks!
> 
> Doug Gillespie
> 

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


-- 
Kristian Larsson, Net At Once AB
Email: kristian at netatonce.se
Phone: +46 470 592717
Cell: +46 704 910401



More information about the asterisk-users mailing list