Do you care if it's online, as long as it answers the challenge successfully with the same credentials it provides when it registers?
Daniel-Constantin Mierla wrote: > > > On 01/16/2009 03:53 PM, Alex Balashov wrote: >> 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? > you must authenticate the call, this check comes after, to be sure the > user is calling from a phone that was previously registered (so it is > online). > > If you check the discussions from the last days, one good thing of doing > this is to prevent SIP Digest Access Authentication RELAY. > > One can call from a sip phone even that phone is not registered > (REGISTER-200ok). > > Cheers, > Daniel > > >> >> -- 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
