<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">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">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank">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">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">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank">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">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">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote></div>