[SR-Users] How to check 4XX/5XX response in general.
Sebastian Damm
damm at sipgate.de
Mon Oct 23 12:34:16 CEST 2017
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 at advaitamtech.com
<vivek at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
More information about the sr-users
mailing list