<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Try LCDial() command. YOu can find it on the
Wiki. It uses an SQL backend and it works great.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=waldo@trianet.net href="mailto:waldo@trianet.net">Waldo
Rubinstein</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=alyed.tzompa@simitel.com
href="mailto:alyed.tzompa@simitel.com">alyed.tzompa@simitel.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 30, 2006 5:14
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Asterisk-Users] Asterisk
and LCR</DIV>
<DIV><BR></DIV>Any opensource solution?
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>Thanks,</DIV>
<DIV>Waldo</DIV>
<DIV><BR>
<DIV>
<DIV>On Mar 29, 2006, at 7:25 PM, Alyed Tzompa wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><FONT face=arial size=2>I use Portaone's PortaSIP
for everything related to LCR<BR><BR>Alyed</FONT> <BR><BR><FONT
face="Tahoma, Arial, Sans-Serif" size=2>
<HR align=center width="100%" SIZE=2>
Return-Path: <<A
href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</A>>
Wed Mar 29 16:48:54 2006<BR>Received: from
digium-69-16-138-164.phx1.puregig.net [69.16.138.164] by
mail11.webcontrolcenter.com with SMTP;<BR>Wed, 29 Mar 2006 16:48:54
-0700<BR>Received: from digium-69-16-138-164.phx1.puregig.net (localhost
[127.0.0.1])<BR>by lists.digium.com (Postfix) with ESMTP id
2D302C3B8;<BR>Wed, 29 Mar 2006 16:36:31 -0700 (MST)<BR></FONT><BR><BR>I'm
wondering how you guys handle least cost routing within
Asterisk.<BR><BR>Basically, we have a few providers with, obviously,
different rates <BR>per route. Additionally, we have a number of clients who
have DIDs <BR>assigned to them (either pointing to a single SIP peer or to
more <BR>complex dialing rules, such as, ring multiple SIP peers, or ring
SIP <BR>peers sequentially, or overflow to external forwarded
number).<BR><BR>What we are trying to do is to ease the pain of Asterisk
dialing <BR>through the least cost route regardless of where the destination
is. <BR>If the call is to go through a provider, well, then dial the least
<BR>cost provider. If someone is dialing a number which happens to be one
<BR>of the DIDs assigned in our system, it shouldn't have to go out
<BR>through any provider but just be routed properly in the dialing
plan.<BR><BR>Also, if a client has defined a rule to forward calls to
another <BR>number, how can I let the dial plan to dial out that number
while <BR>taking advantage of the LCR in place?<BR><BR>We looked at lcdc
script but not quite sure is what we need or maybe <BR>don't understand it
completely to implement it
correctly.<BR><BR>Thanks,<BR>Waldo<BR>_______________________________________________<BR>--Bandwidth
and Colocation provided by Easynews.com --<BR><BR>Asterisk-Users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR><A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation provided by Easynews.com --<BR><BR>Asterisk-Users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE></BODY></HTML>