[asterisk-users] SIP Load Balancing

Tim King tim at compnetwork.net
Thu Oct 28 10:08:12 CDT 2010


I have a very simple setup with two SIP routes to my carrier. I need to have
every other phone call placed to that carrier go to a different address.

This is what I need the call flow to look like. I have spent many hours
searching and have not found a working example.
Call1  exten => NXXNXXXXX,2,Dial(SIP/${DIALEDNUM}@2.4.6.8<DIALEDNUM%7D at 2.4.6.8>
)
Call2  exten => NXXNXXXXX,2,Dial(SIP/${DIALEDNUM}@1.2.3.4<DIALEDNUM%7D at 1.2.3.4>
)
Call3  exten => NXXNXXXXX,2,Dial(SIP/${DIALEDNUM}@2.4.6.8<DIALEDNUM%7D at 2.4.6.8>
)
Call4  exten => NXXNXXXXX,2,Dial(SIP/${DIALEDNUM}@1.2.3.4<DIALEDNUM%7D at 1.2.3.4>
)
Call5  exten => NXXNXXXXX,2,Dial(SIP/${DIALEDNUM}@2.4.6.8<DIALEDNUM%7D at 2.4.6.8>
)
Call6  exten => NXXNXXXXX,2,Dial(SIP/${DIALEDNUM}@1.2.3.4<DIALEDNUM%7D at 1.2.3.4>
)
Call7  exten => NXXNXXXXX,2,Dial(SIP/${DIALEDNUM}@2.4.6.8<DIALEDNUM%7D at 2.4.6.8>
)
Call8  exten => NXXNXXXXX,2,Dial(SIP/${DIALEDNUM}@1.2.3.4<DIALEDNUM%7D at 1.2.3.4>
)
..........................
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101028/f7d86121/attachment-0001.htm 


More information about the asterisk-users mailing list