<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi,<br>
<br>
In the failure route I see that the 408 is handled as the other
reply codes that work (like 486). Put some xlogs in the failure
route to understand why the t_relay() is not hit when you have a
call timeout (or better use script_trace() [1])<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://www.opensips.org/Documentation/Script-CoreFunctions-3-2#script_trace">https://www.opensips.org/Documentation/Script-CoreFunctions-3-2#script_trace</a><br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2022Athens/">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
<div class="moz-cite-prefix">On 8/12/22 1:11 PM, HS wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+PgBoahtd-4=XYMs-LAUw-1AuPMzO2y0iTEH-oRTmjcjbzMNg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Bogdan-Andrei.</div>
<div><br>
</div>
<div>Thanks again for the help. Yes, it doesn't transfer to VM
on "timeout upon ringing" or "temporary unavailable".</div>
<div><br>
</div>
<div>Best wishes.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Aug 11, 2022 at 9:02
PM Bogdan-Andrei Iancu <<a
href="mailto:bogdan@opensips.org" moz-do-not-send="true">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">Hi,<br>
<br>
By "in all other cases" you mean "timeout upon ringing" ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank" moz-do-not-send="true">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
<div>On 8/10/22 4:20 PM, HS wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi again.</div>
<div><br>
</div>
<div>Thanks. Exact opposite :) When using an alias,
after the call to users device is rejected, it is
redirecting successfully to VM. However, in all other
cases it doesn't redirect to VM (when using an alias)
and times out. On the other hand, everything works as
per snippet if using subscriber table details.</div>
<div><br>
</div>
<div>Does that make sense please?</div>
<div><br>
</div>
<div>Thanks.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Aug 10, 2022
at 5:25 PM Bogdan-Andrei Iancu <<a
href="mailto:bogdan@opensips.org" target="_blank"
moz-do-not-send="true">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">Hi,<br>
<br>
So, your issue is that, after the call to user's
device is rejected, and redirecting to VM (via
failure route) you have some wrong RURI, right ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank" moz-do-not-send="true">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
<div>On 8/10/22 1:51 PM, HS wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi again.</div>
<div><br>
</div>
<div>Thanks a lot for the quick response. My cfg
is a bit of a trial-and-error based, hence
will email it (if that's ok). However,
dbaliases support is inserted as per default
residential script:</div>
<div><br>
</div>
<div> if ($rU==NULL) {<br>
# request with no Username in RURI<br>
send_reply(484,"Address Incomplete");<br>
exit;<br>
}<br>
<br>
# apply DB based aliases<br>
alias_db_lookup("dbaliases");</div>
<div><br>
</div>
<div>Thanks again.</div>
<div><br>
</div>
<div>HS.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Aug
10, 2022 at 3:31 PM Bogdan-Andrei Iancu <<a
href="mailto:bogdan@opensips.org"
target="_blank" moz-do-not-send="true">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">Hi,<br>
<br>
Could you share the cfg WITH the dbaliases
support, to check where the alias lookup
was inserted in the cfg logic ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank" moz-do-not-send="true">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
<div>On 8/10/22 1:28 PM, HS wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi again Bogdan,</div>
<div><br>
</div>
<div>Thanks for responding. I *tried* to
add support for aliases. What is
interesting is that the following
snippet works fine on decline (but not
otherwise):</div>
<div><br>
</div>
<div> if
(t_check_status("487|408|486|480|603")){<br>
rewritehostport("INT.IP.XX.XXX:5091");<br>
t_relay();<br>
exit;</div>
<div><br>
</div>
<div>Any thoughts on how to fix please?</div>
<div><br>
</div>
<div>Thanks.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On
Tue, Aug 9, 2022 at 2:45 PM
Bogdan-Andrei Iancu <<a
href="mailto:bogdan@opensips.org"
target="_blank"
moz-do-not-send="true">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">Hi HS,<br>
<br>
The aliases and late SDP
negotiation has noting in common.<br>
<br>
And the mentioned script has no
support for aliase - I guess you
added such support ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank" moz-do-not-send="true">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
<div>On 6/20/22 5:21 PM, HS wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi all.<br>
<br>
Just wondering if anyone has
"dbaliases" working with the
Late SDP negotiation script
below:<br>
<br>
<a
href="https://opensips.org/pub/docs/tutorials/websockets/opensips-late.cfg"
target="_blank"
moz-do-not-send="true">https://opensips.org/pub/docs/tutorials/websockets/opensips-late.cfg</a><br>
<br>
If we call an alias, it works
fine if the user is online.
However, in case of offline
users I want the call to be
forwarded to another
instance/server. If we use the
ID (from subscriber table) calls
are being forwarded. But not if
we dial an alias.<br>
<br>
Appreciate the help.</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>