[asterisk-users] help with rotating number plan

Paul Belanger pabelanger at gmail.com
Thu May 8 10:46:49 CDT 2008


G'day all,

I'm trying to come up with a quick, easy solution to have a static
inbound number in my dialplan, rotate calling 2 numbers.  Example:


1st call into asterisk

exten => 1234,1,Dial(sip/1111,10)
exten => 1234,n,Dial(sip/2222,10)

2nd call into asterisk

exten => 1234,1,Dial(sip/2222,10)
exten => 1234,n,Dial(sip/1111,10)

We're kind off looking to do load balancing via the dial plan.

But I'm having a little trouble getting the logic to trace 1st call
in, 2nd call in, 1st call in, 2nd call in, etc.

Any help?

Thanks again,
PB



More information about the asterisk-users mailing list