[OpenSIPS-Users] DBAliases with Late SDP Negotiation

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Aug 10 10:31:07 UTC 2022


Hi,

Could you share the cfg WITH the dbaliases support, to check where the 
alias lookup was inserted in the cfg logic ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
   https://www.opensips.org/events/Summit-2022Athens/

On 8/10/22 1:28 PM, HS wrote:
> Hi again Bogdan,
>
> 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):
>
> if (t_check_status("487|408|486|480|603")){
> rewritehostport("INT.IP.XX.XXX:5091");
>                 t_relay();
>                 exit;
>
> Any thoughts on how to fix please?
>
> Thanks.
>
> On Tue, Aug 9, 2022 at 2:45 PM Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hi HS,
>
>     The aliases and late SDP negotiation has noting in common.
>
>     And the mentioned script has no support for aliase - I guess you
>     added such support ?
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>
>     OpenSIPS Founder and Developer
>        https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
>     OpenSIPS Summit 27-30 Sept 2022, Athens
>        https://www.opensips.org/events/Summit-2022Athens/  <https://www.opensips.org/events/Summit-2022Athens/>
>
>     On 6/20/22 5:21 PM, HS wrote:
>>     Hi all.
>>
>>     Just wondering if anyone has "dbaliases" working with the Late
>>     SDP negotiation script below:
>>
>>     https://opensips.org/pub/docs/tutorials/websockets/opensips-late.cfg
>>     <https://opensips.org/pub/docs/tutorials/websockets/opensips-late.cfg>
>>
>>     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.
>>
>>     Appreciate the help.
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users  <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220810/1600b006/attachment-0001.html>


More information about the Users mailing list