@Flavio thanks!

Miha

Dne 1/3/2013 10:39 AM, pis(e Flavio Goncalves:
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 <[email protected] <mailto:[email protected]>>

    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
    [email protected] <mailto:[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

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

Reply via email to