Hello, I see problem when using switch .. case. Opensips version 2.2.2.
Here is part of my script: radius_send_auth("out","in"); xlog("L_ERR", "Radius return $rc"); switch ($rc) { case -1: xlog("L_ERR", "ERROR during authentication"); sl_reply_error(); exit; case -2: xlog("L_ERR", "Authentication denied"); sl_reply_error(); exit; } # end switch xlog("L_ERR", "Continue ...."); This is results: Jan 16 10:16:55 sbc-01 /usr/sbin/opensips[7820]: Radius return -1 Jan 16 10:16:55 sbc-01 /usr/sbin/opensips[7820]: Continue .... Best regards, Dragomir
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users