But doesn't that check if the AOR in the RURI can be located. Michel,
The proper way to do this -- assuming your motive is security and authorisation -- is to challenge the incoming INVITE initial request of the caller (who is supposed to be registered) with a 407 proxy challenge, i.e. proxy_authorize()/proxy_challenge(). Bogdan-Andrei Iancu wrote: > Hi Michel, > > See the registered() function from the registrar module: > > http://www.opensips.org/html/docs/modules/1.4.x/registrar.html#id271407 > > Regards, > Bogdan > > michel freiha wrote: >> Dear All, >> I need to ask please about which function should I use in order to >> check while making a call if the user who is dialing the number is >> making the call from a registered account or not? >> >> Regards >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775 _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
