[Spce-user] How to force unregister a user

Daniel Grotti dgrotti at sipwise.com
Wed Jul 24 04:43:21 EDT 2013


Hi Andreas,

it depends when you want to perform the de-registration.
The URI must be the SIP URI address of the user which to remove the
contact addresses for.

Can you share your code?

Daniel



On 07/19/2013 04:57 PM, andreas tseiko wrote:
> Dear Daniel,
> 
> I have used the following combinations but with no success:
> unregister("location", "$ru");
> unregister("location", "sip:$ru at example.com");
> unregister("location", "$avp(s:callee_user)");
> unregister("location", "sip:$avp(s:callee_user)@example.com");
> 
> Could you please help regarding what is the correct variable that I
> should use for "URI" field?
> 
> Best regards.
> 
>> Date: Fri, 19 Jul 2013 16:46:35 +0200
>> From: dgrotti at sipwise.com
>> To: spce-user at lists.sipwise.com
>> Subject: Re: [Spce-user] How to force unregister a user
>>
>> Hi,
>>
>> you can use "unregister(domain, uri)" function:
>>
>>
> http://www.kamailio.org/docs/modules/3.3.x/modules_k/registrar.html#idp6222944
>>
>> br,
>> Daniel
>>
>>
>> On 07/19/2013 04:41 PM, andreas tseiko wrote:
>> > Hi Daniel,
>> >
>> > Yes , I want to unregister the user via kamailio.cfg during a call
> parsing.
>> >
>> > Best regards.
>> >
>> >> Date: Fri, 19 Jul 2013 16:35:29 +0200
>> >> From: dgrotti at sipwise.com
>> >> To: spce-user at lists.sipwise.com
>> >> Subject: Re: [Spce-user] How to force unregister a user
>> >>
>> >> Hi Andreas,
>> >>
>> >> do you want to unregister the user from kamailio.cfg during a call
>> >> parsing or what ?
>> >>
>> >>
>> >> br,
>> >> Daniel
>> >>
>> >>
>> >>
>> >> On 07/19/2013 04:10 PM, andreas tseiko wrote:
>> >> > Dear John,
>> >> >
>> >> > Let me rephrase my question,
>> >> >
>> >> > I would like automaticaly a registered user to be unregistered
> when for
>> >> > example his network connection has been lost and another user is
> calling
>> >> > him.
>> >> >
>> >> > Best regards.
>> >> >
>> >> > Date: Fri, 19 Jul 2013 15:59:49 +0200
>> >> > From: jbonilla at sipwise.com
>> >> > To: spce-user at lists.sipwise.com
>> >> > Subject: Re: [Spce-user] How to force unregister a user
>> >> >
>> >> > El Fri, 19 Jul 2013 16:50:28 +0300
>> >> > andreas tseiko <a.tseiko at hotmail.com> escribió:
>> >> >
>> >> >> Dear All,
>> >> >> Is it possible to unregister a user if a specified criteria is
>> > matched before
>> >> >> his registration expires?If yes, what is the function that I should
>> > call?
>> >> >> Best regards.
>> >> >
>> >> >
>> >> > You can use "delete_subscriber_registered_device" function to delete
>> > any device
>> >> > registration.
>> >> >
>> >> >
>> >> >
>> >> > _______________________________________________ Spce-user mailing
> list
>> >> > Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > Spce-user mailing list
>> >> > Spce-user at lists.sipwise.com
>> >> > http://lists.sipwise.com/listinfo/spce-user
>> >> >
>> >>
>> >> _______________________________________________
>> >> Spce-user mailing list
>> >> Spce-user at lists.sipwise.com
>> >> http://lists.sipwise.com/listinfo/spce-user
>> >
>> >
>> > _______________________________________________
>> > Spce-user mailing list
>> > Spce-user at lists.sipwise.com
>> > http://lists.sipwise.com/listinfo/spce-user
>> >
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user




More information about the Spce-user mailing list