[Kamailio-Users] i want to stop second registration request if user already registered
arif.zaman
arif.zaman at brotecs.com
Mon Oct 27 08:08:21 CET 2008
Use the following config:
$var(temp) = $ruri;
$ruri = $fu;
if(registered("location")) {
sl_send_reply("699", "User Not Found");
xlog("L_NOTICE","ARIF: Already Registered\n");
exit;
}
$ruri = $var(temp);
Cheers,
ARIF
--
View this message in context: http://www.nabble.com/i-want-to-stop-second-registration-request-if-user-already-registered-tp20132564p20182710.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
More information about the Users
mailing list