[Kamailio-Users] Registered user

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 16 15:11:17 CET 2009



On 01/16/2009 04:03 PM, Alex Balashov wrote:
> Do you care if it's online, as long as it answers the challenge 
> successfully with the same credentials it provides when it registers?
Have you checked about SIP Digest Access Authentication Relay? Some care 
in such case ...

Also, with prepaid systems, where only one phone is allowed to be 
registered (see the rest of enhancements in kamailio 1.5.0 registrar 
module - e.g., save() with flags 0x4) and call, then you have to check 
as well.

Cheers,
Daniel


>
> 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
>>>>
>>>
>>>
>>
>
>

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the sr-users mailing list