Do you have a particular username numbering scheme (would make it easier)?
You could do something like:
if(!uri =~ "^sip:.*@mydomain.*") { sl_send_reply("404", "User not found"); break; };
or something similar.
N.
On Tue, 05 Sep 2006 16:04:02 +0100, Ricardo Carvalho wrote
How can I prevent a dialled username (without dialling the domain) to ring a phone registered with that username? I pretend to use a multi-domain architecture where apart from aliases of users, only dialling with username@domain will ring registered phones.
Thanks,
Ricardo. _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers