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