Hi Rodrigo,

Use the domain module to list aliases via DB ; and in your script, where you have the "myself" checks use one of the functions from domain module:
    is_from_local() or is uri_host_local()
See:
    http://www.opensips.org/html/docs/modules/2.1.x/domain.html

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 19.01.2016 20:00, Rodrigo Pimenta Carvalho wrote:

Dear OpenSIPS-users,


I have used the global parameter Alias successful. The same for advertised_address.


Now, I have to configure these values at execution time. Such values will be determined just after starting my system. So, I need a way to configure these values in a dynamic way.


Then, I will use the core function set_advertised_address.

But, I did not find a core function to set the Alias at execution time?


Is there a way to set Alias at execution time? Is there a function for that or can I set Alias with a database query. Ex: Alias = select from....


Any hint will be very helpful!


Best regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to