[Serusers] prevent a dialled username without dialling the domain to ring a phone registered with that username

sip sip at arcdiv.com
Tue Sep 5 17:23:38 CEST 2006


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 at domain will ring registered phones.
> 
> Thanks,
> 
> Ricardo.
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list