[OpenSIPS-Users] Regex to test variable

Johan De Clercq Johan at democon.be
Thu Nov 26 10:42:07 EST 2020


A classic mistake, also very often mate in C.

Op do 26 nov. 2020 om 11:04 schreef Mark Farmer <farmorg at gmail.com>:

> Thanks Donat, good tip :)
>
> Turned out to be a missing equals sign
>
> if $avp(dtmf_compat)= "0" {
>
> if $avp(dtmf_compat) == "0" {
>
> Silly me, took me ages to spot that!
>
> Thanks again for the tip!
>
> Mark.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20201126/80bcfbde/attachment.html>


More information about the Users mailing list