Thank you for your answer, but this method seem just to make a opensip's user
can only register on a phone at the same time , it can avoid two phone to
register a user like 101 on the opensip's server at the same time , but it
can't avoid a phone to register two different user like 101 and 103 at a time.
After I defined max_contacts as 1, I found that if I register phone A as user
101 and phone B as user 102 first , then I replace user 101 with 103 at the
phone A , it can register successful , but when I make phone B to call 101 ,
the phone A ring and can build a dialog between phone A and B successful, it
mean the 101 do not unregister successful. And then I make phone B to call
phone A it can also build a dialog between phone A and B successful . And when
I make phone C to register user 101 , it can not register successful , it mean
the parameter max_contacts just can avoid two phone to register same user on
the opensip's server at the same time, but it can't avoid a phone to register
two different user like 101 and 103 at a time , this is where my problem is.
At 2014-05-08 19:54:00,"Mike Tesliuk" <[email protected]> wrote:
>Take a look here
>
>http://www.opensips.org/html/docs/modules/devel/registrar.html#id293748
>
>
>You can define how many contact a user can have , so, if you put 1
>just the last registration will be used.
>
>
>
>2014-05-08 8:09 GMT-03:00 老鬼 <[email protected]>:
>> I get a linphone client for my phone and construct a opensips servers on my
>> Ubuntu computer. I register my linphone client on the opensips servers by
>> user name 101, and register user name 102 for another phone , and establish
>> a video call between these two users successfully. But when I replace the
>> user 101 with 103, and use 102 to call 101 it was also call the phone that
>> register by user 103. How to unregister the user ? It's there a command to
>> unregister a user?Please help me, thank you .
>>
>>
>>
>>
>> _______________________________________________
>> 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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users