<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Samuel,<br>
<br>
We will have a DR tutorial in place next week (after the release).<br>
<br>
Now, reading your scenario, I see you have 2 ops here : (1)
mapping the DID to your subscriber (what about using aliases here
?) and (2) doing call fwd on no-answer for your subscriber (serial
forking)<br>
<br>
Of course you can combine all this in CR / DR tool, or you can
simply script everything (using aliases and AVPs with serial
forking for fallback).<br>
<br>
With DR, you need to set in dr_rules the DIDs and to point into
dr_gateways (as IP of the proxy). Now, as attribute of the gateway
you can define the mobile number -> if the call to GW failed,
you can use the attribute and get the mobile number.<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>
<br>
On 01/18/2013 07:27 PM, Samuel Muller wrote:
<blockquote
cite="mid:CAEhWu_a3A7d12AGhc2BUjOpB55X2LXKt77+7Twu=hL_O827ENA@mail.gmail.com"
type="cite">Hello Bogdan,<br>
<br>
it should be nice to get some tutorials, of course.<br>
<br>
but I tried today to understand a bit more the drouting module,
and it does not do what I need, as the carriermodule.<br
clear="all">
<div><br>
to explain briefly :<br>
<br>
an incoming call from PSTN to one of my subscriber DID I've to
take in charge.<br>
the carrierroute module find as prefix the R-URI username and
tries to route the call to one of my other proxy.<br>
but, I get a 408 Time Out and I need to route in fallback to,
i.e., the PSTN mobile phone of my subscriber.<br>
So, I've to rewrite to R-URI username and send the new request
to my PSTN gateway.<br>
<br>
In the drouting module or in the carrierroute, I've no way to
find this new username to rewrite.<br>
<br>
I think that I need to add a new column in the
carrierfailureroute (or something equal in the drouting module)
that contains the fallback r-uri username ...<br>
<br>
If you have better idea, I take it !<br>
<br>
<br>
<br>
<b>Samuel MULLER</b><font size="1"><br>
<a moz-do-not-send="true" href="mailto:sml@l33.fr"
target="_blank">sml@l33.fr</a></font></div>
<br>
<br>
<div class="gmail_quote">On Wed, Jan 16, 2013 at 5:49 PM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> <tt>Hi Samuel,<br>
<br>
What is the kind of "complexity" you got stuck with DR ?
You can use it both in a simple or a complex way - maybe I
can help with it.<br>
<br>
Anyhow we plan to publish a tutorial for Dynamic Routing
after the 1.9.0 release.<br>
<br>
Regards,<br>
</tt>
<div class="im">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br>
</div>
<div>
<div class="h5"> On 01/16/2013 03:03 PM, Samuel Muller
wrote:
<blockquote type="cite">Hey Bogdan,<br>
<br>
I already tried the drouting module, I found that it
was too complex for my needs - and I was not agree in
some way to take in charge the routing (source routing
is so weird in my case, regex are not working, and so
on) - so I turned back myself to the old LCR module I
used once upon a time which was really sufficient - to
finally use carrierroute - that I thought it was
maintained yet.<br>
<br clear="all">
<div>I'll try again the drouting but I'm not really
confident with this one ...<br>
<br>
Thanks a lot,<br>
<br>
<br>
<b>Samuel MULLER</b><font size="1"><br>
<a moz-do-not-send="true" href="mailto:sml@l33.fr"
target="_blank">sml@l33.fr</a><br>
<br>
</font></div>
<br>
<div class="gmail_quote">On Wed, Jan 16, 2013 at 1:51
PM, Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt
0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> <tt>Hi
Samuel,<br>
<br>
I would suggest rather using the drouting
module instead of carrierroute (this module is
not maintained). With drouting module you have
attributes per rules, per gateways and per
carriers, and you use these attributes for
whatever purposes (and they are available in
script).<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div> <br>
On 01/16/2013 02:40 PM, Samuel Muller wrote:
</div>
</div>
<blockquote type="cite">
<div>
<div>Hello,<br>
<br>
I've a single question about carrierroute
module.<br>
<br>
I would like to use the failure route to
rewrite the user + domain to a new one as
fallback (i.e. when 4xx catched after the
main carrier route, redirect to another
pstn number).<br>
Is there an easy way to do it - as adding
a new column in the carrierfailureroute
table ?<br>
I would like to save the db requests ...<br>
<br>
thanks a lot,<br clear="all">
<div><br>
<b>Samuel MULLER</b><font size="1"><br>
<a moz-do-not-send="true"
href="mailto:sml@l33.fr"
target="_blank">sml@l33.fr</a><br>
<br>
</font></div>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</blockquote>
</div>
<br>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
</body>
</html>