<html><head><base href="x-msg://1607/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">dialplan can do all of this trivially<div><br><div><div>On Mar 25, 2010, at 3:43 PM, Madovsky wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div bgcolor="#ffffff"><div><font size="2">but it uses DB request, no ? I'd like to avoid DB request.</font></div><div><font size="2"></font> </div><div><font size="2">Thanks</font></div><blockquote style="border-left-color: rgb(0, 0, 0); border-left-width: 2px; border-left-style: solid; padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px; position: static; z-index: auto; "><div style="font: normal normal normal 10pt/normal arial; ">----- Original Message -----</div><div style="font: normal normal normal 10pt/normal arial; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(228, 228, 228); background-position: initial initial; "><b>From:</b><span class="Apple-converted-space"> </span><a title="rupa@rupa.com" href="mailto:rupa@rupa.com">Rupa Schomaker</a></div><div style="font: normal normal normal 10pt/normal arial; "><b>To:</b><span class="Apple-converted-space"> </span><a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a></div><div style="font: normal normal normal 10pt/normal arial; "><b>Sent:</b><span class="Apple-converted-space"> </span>Thursday, March 25, 2010 3:25 PM</div><div style="font: normal normal normal 10pt/normal arial; "><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [Freeswitch-users] international prefix</div><div><br></div>mod_lcr is how I'd recommend dealing with this problem. <shrug/><br><br><div class="gmail_quote">On Thu, Mar 25, 2010 at 2:01 PM, Madovsky<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span><span class="Apple-converted-space"> </span>wrote:<br><blockquote class="gmail_quote" style="border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; "><div bgcolor="#ffffff"><div><font size="2">I try to manage trunks that allow different international prefix.</font></div><div><font size="2">for example, trunk A allows "011" and trunk B "00", and for domestic calls trunk B allows no prefix.</font></div><div><font size="2">it's a problem when I use mod distributor since I can't gues which trunk will be used for the bridge.</font></div><div><font size="2">I'm not sure that lcr is a good solution for this problem as it makes more DB overload.</font></div><div><font size="2">Any idea ?</font></div><div><font size="2"></font> </div><div><font size="2">Thanks</font></div></div></blockquote></div></blockquote></div></span></blockquote></div><br></div></body></html>