<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.1">
</HEAD>
<BODY>
On Thu, 2008-05-08 at 11:46 -0400, Paul Belanger wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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)
</PRE>
</BLOCKQUOTE>
explore the use of set(DB)<BR>
it stores values on a persistent astDB<BR>
so you can use it to toggle where the next call dials<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
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
_______________________________________________
-- Bandwidth and Colocation Provided by <A HREF="http://www.api-digital.com">http://www.api-digital.com</A> --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>