[Serusers] REGISTER, INVITE and authentication

Iqbal iqbal at gigo.co.uk
Sat Jul 23 17:47:05 CEST 2005


you could use avpops,

when u get invite from first user, write to db, when second invite comes
check if db field exists if so deny call,

Iqbal
On 7/23/2005, "Alberto Cruz" <acruz at tekbrain.com> wrote:

>I know that SER by it self doesn't include a parameter or option to
>limit the max concurrent calls for a sip user.
>
>Some UA like Linksys PAP2 have the option to configure it to provide
>dial tone only if they are registered with the Proxy you could try that
>option.
>
>Regards
>
>Alberto Cruz
>Dave wrote:
>
>>Hi,
>>I am facing the following problem: I force a maximum
>>of one registration per sip user (
>>modparam("registrar", "max_contacts", 1). I also
>>authenticate INVITES (proxy_authorize()).
>>
>>When a second UA tries to register, it is denied as
>>expected and registration fails. But when this second
>>client places a call, it suceeds  even though it is
>>not registered (The proxy_authorize for INVITE suceeds
>>since the credentials are good).
>>
>>I do not want this second client to place a call since
>>it is not registered. I have looked at all the various
>>functions and there seems to be no way this. Checking
>>whether the "from" uri is registered will not help
>>since the first client is already registered.
>>
>>Is there any way to handle this?
>>Thanks
>>
>>
>>
>>____________________________________________________
>>Start your day with Yahoo! - make it your home page
>>http://www.yahoo.com/r/hs
>>
>>
>>_______________________________________________
>>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