[Serusers] authenticate INVITEs

Michal Matyska michal at iptel.org
Fri Feb 23 17:24:18 CET 2007


You can use if (registered("location")) {...}
it checks location, just does not rewrite request uri (so you don't need
to save it's old content.

You should set the $tu.uid with the correct value of the caller anyway.

Michal

On Fri, 2007-02-23 at 16:01 +0100, Miklos Tirpak wrote:
> search the mailing list for "prevent INVITE without REGISTERing"
> You may have to update the following config, do not define AVP track for 
> example ($f.uid instead of $fu.uid).
> http://lists.iptel.org/pipermail/serusers/2006-July/029559.html
> 
> Miklos
> 
> On 02/23/2007 02:38 PM, Octavarium wrote:
> > I have enabled mysql authentication of REGISTER messagess, but i need that only INVITE mesagges from devices properly registered in SER can go through, and that INVITE mesagges from devices NOT registered are dropped.
> > 
> > How can i do this? do you have a sample script?
> > 
> > Thanx a lot!
> > 
> > _______________________________________________
> > Serusers mailing list
> > Serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list