<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Ben,<br>
<br>
Do not use built-in support for caller group as it does not serve
your purpose.<br>
<br>
My suggestion is to create in DR a separate set of rules (with
prefixes) to translate from prefix to a routing group (to be use
in the second step for routing callee prefix based). In the first
step, use DR without setting GW param and put the routing group
into rule attrs.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 13.08.2015 17:03, Newlin, Ben wrote:<br>
</div>
<blockquote cite="mid:5142AA35-E868-43C5-853F-33D939D96235@inin.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>
<div>
<div>Bogdan,</div>
<div><br>
</div>
<div>Thanks for the reply. I had considered something similar
to what you suggested using the Dialplan module to convert
prefixes to groups and then performing drouting according to
the group. Is that what you mean or is there some way to do
that first translation (prefix to group) in drouting as
well? From what I could see in the documentation, the
drouting module only matches the full user in order to
determine the group, not a prefix.</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE">
<div><br>
</div>
<div>Ben Newlin</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt;
text-align:left; color:black; BORDER-BOTTOM: medium none;
BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><<a
moz-do-not-send="true"
href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>>
on behalf of Bogdan-Andrei Iancu<br>
<span style="font-weight:bold">Reply-To: </span>OpenSIPS
users mailling list<br>
<span style="font-weight:bold">Date: </span>Wednesday, August
12, 2015 at 2:40 AM<br>
<span style="font-weight:bold">To: </span>OpenSIPS users
mailling list, "Newlin, Ben"<br>
<span style="font-weight:bold">Subject: </span>Re:
[OpenSIPS-Users] CARRIERROUTE module<br>
</div>
<div><br>
</div>
<div>
<div text="#000000" bgcolor="#FFFFFF"><tt>Hi Ben,<br>
<br>
The carrierroute module is not maintained (for like 6
years).<br>
<br>
Still, if you want to do a routing based on both caller
and caller number, you can do it with the drouting module.
Use a set of prefixes to translate the caller prefix into
a kind of routing group , which can be used again with
drouting as set for searching the callee prefix. Basically
you do 2 droutings, one for caller, one for callee.<br>
<br>
Regards, <br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 11.08.2015 18:23, Newlin,
Ben wrote:<br>
</div>
<blockquote
cite="mid:F299D448-C3C4-464C-8D24-F26B260674ED@inin.com"
type="cite">
<div>Hi all,</div>
<div><br>
</div>
<div>We have some interest in possibly using the
CARRIERROUTE module instead of DROUTING as it allows
prefix matching of the originating number as well as the
destination, whereas DROUTING must match the originating
user exactly. However, we noticed that the CARRIERROUTE
module is labeled as alpha, even though it has existed
in OpenSIPS for many years and many releases.</div>
<div><br>
</div>
<div>Is there some reason this module is still alpha? Is
it considered to be unstable for production use?</div>
<div><br>
</div>
<div>
<div id="">
<div style="margin: 0px; padding: 0px; color: rgb(102,
102, 102); font-family: Arial, Helvetica,
sans-serif; font-size: 12px; line-height: 16.8pt;
background-color: rgb(255, 255, 255);">
Ben Newlin</div>
<div style="margin: 0px; padding: 0px; color: rgb(102,
102, 102); font-family: Arial, Helvetica,
sans-serif; font-size: 12px; line-height: 20pt;
background-color: rgb(255, 255, 255);">
<span style="margin: 0px; padding: 0px; font-size:
10pt; font-family: arial, sans-serif; color:
rgb(5, 133, 167);"></span></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
</div>
</div>
</span>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>