Daniel, I am curious, what is the intended use case of this:
"check if a user is calling from a registered device and if not, deny the call" Why not just issue a 407 Proxy Challenge for the incoming INVITE? -- ALex Daniel-Constantin Mierla wrote: > Hello, > > On 01/16/2009 03:31 PM, 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? > if you want to check if the user is calling from a registered phone, you > have to use kamailio trunk. > > See second example here: > http://openser.blogspot.com/2008/10/registrar-enhancements.html > > Module documentation at: > http://www.kamailio.org/docs/modules/devel/registrar.html > > Cheers, > Daniel > -- 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
