[OpenSIPS-Users] concatenate an integer and a string

Alain Bieuzent alain.bieuzent at free.fr
Mon Oct 18 09:08:59 EST 2021


Hi All,

 

I’m’ trying to concatenate two avp result to one string

The first avp(id_asterisk)  is an integer, 

the second $avp(codecs) is a string.

 

When I try to concatenate with $var(result) = $avp(id_asterisk) + "|" + $avp(codecs);) I got this error message :

 

ERROR:core:eval_elem: invalid numeric operands

WARNING:core:do_assign: no value in right expression at /usr/local//etc/opensips/opensips.cfg:881

 

Someone can help me?

 

Regards,

Alain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211018/9ba684cc/attachment.html>


More information about the Users mailing list