[asterisk-users] Re: Load balancing of IAX2

2006-08-11 Thread Kamran Ahmad


--- Kamran Ahmad [EMAIL PROTECTED] wrote:

 
 Thanks alot for your answer Florian
 
 I have a question in this case when call is
 transfered
 from loadbalancing-server to server01 or server02
 what
 will be media Path? media will be routed through
 loadbalancing-server or it will not use
 loadbalancing-server anymore
 
 

EndPoint1--loadbalancing-server--server01/02--EndPoint2
 OR
 EndPoint1--server01/02EndPoint2
 
 
 any idea which one?
 
 thanks
 kAMRAN
 
 
 
 
 
 
 Hi,
 
 Kamran Ahmad wrote:
 
 any idea how to loadbalance IAX2 trafic to multiple
 asteirsk
 
 Use app_random:
 
 exten = _X.,2,Random(50:6)
 exten = _X.,3,Dial(IAX2/server01/${EXTEN})
 exten = _X.,4,Dial(IAX2/server02/${EXTEN})
 exten = _X.,5,Goto(8)
 exten = _X.,6,Dial(IAX2/server02/${EXTEN})
 exten = _X.,7,Dial(IAX2/server01/${EXTEN})
 exten = _X.,8,Congestion
 exten = i,1,Congestion
 
 Florian
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--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


[asterisk-users] Re: Load balancing of IAX2

2006-08-11 Thread Kamran Ahmad
Thanks


Hi,

Kamran Ahmad wrote:
 I have a question in this case when call is
transfered
 from loadbalancing-server to server01 or server02
what
 will be media Path? media will be routed through
 loadbalancing-server or it will not use
 loadbalancing-server anymore
 

EndPoint1--loadbalancing-server--server01/02--EndPoint2
 OR
 EndPoint1--server01/02EndPoint2

That depends on the exact configuration. If the
loadbalancer is an IAX 
machine it can remove itself from the IAX path if
that is allowed in 
iax.conf (check parameter 'notransfer').

Florian


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--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


[asterisk-users] Re: Load balancing of IAX2

2006-08-07 Thread Kamran Ahmad

Thanks alot for your answer Florian

I have a question in this case when call is transfered
from loadbalancing-server to server01 or server02 what
will be media Path? media will be routed through
loadbalancing-server or it will not use
loadbalancing-server anymore


EndPoint1--loadbalancing-server--server01/02--EndPoint2
OR
EndPoint1--server01/02EndPoint2


any idea which one?

thanks
kAMRAN






Hi,

Kamran Ahmad wrote:

any idea how to loadbalance IAX2 trafic to multiple
asteirsk

Use app_random:

exten = _X.,2,Random(50:6)
exten = _X.,3,Dial(IAX2/server01/${EXTEN})
exten = _X.,4,Dial(IAX2/server02/${EXTEN})
exten = _X.,5,Goto(8)
exten = _X.,6,Dial(IAX2/server02/${EXTEN})
exten = _X.,7,Dial(IAX2/server01/${EXTEN})
exten = _X.,8,Congestion
exten = i,1,Congestion

Florian


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--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] Re: Load balancing of IAX2

2006-08-07 Thread Florian Overkamp

Hi,

Kamran Ahmad wrote:

I have a question in this case when call is transfered
from loadbalancing-server to server01 or server02 what
will be media Path? media will be routed through
loadbalancing-server or it will not use
loadbalancing-server anymore

EndPoint1--loadbalancing-server--server01/02--EndPoint2
OR
EndPoint1--server01/02EndPoint2


That depends on the exact configuration. If the loadbalancer is an IAX 
machine it can remove itself from the IAX path if that is allowed in 
iax.conf (check parameter 'notransfer').


Florian


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