[OpenSIPS-Users] domin registrion

Flavio Goncalves flavio at asteriskguide.com
Thu Jan 3 10:39:23 CET 2013


Hi Miha,

There are two options:

single domain
1. Use the core statement, alias=domain and then use if(uri!=myself) exit;
at some point in the script.

multidomain
2. Load the domain module, insert the domains in the domain table and use
the function is_uri_host_local() to drop foreign messages

Flavio E. Goncalves



2012/12/28 Miha <miha at softnet.si>

> Hi,
>
> I am new to opensips, so sorry for my noob questions:)
>
> I am doing cfg script which would tourn opensips to do load_balancing and
> registration.
> How to prefrom that the user will only register to opensips with domain
> and not ip (if registration is from ip that is should be rejacted, I have
> this now in FS)?
>
> THanks!
> Miha
>
>
>
> ______________________________**_________________
> Users mailing list
> 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/20130103/548e2d95/attachment-0001.htm>


More information about the Users mailing list