Hi,
you can use a regex match for that as well.
if ($rs =~ "^[45].*") {
# do something
}
HTH
Sebastian
On Mon, Oct 23, 2017 at 11:34 AM, vivek(a)advaitamtech.com
<vivek(a)advaitamtech.com> wrote:
Hi,
Is there any way to catch all 4XX and 5XX SIP error codes rather then
specifying individually ie. 404, 500, 400 etc in kamailio.
Thanks,
Vivek.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users