Hi, Jayesh!
Unfortunately you can't do this in OpenSIPS. The 'var' pseudo-variable
only accepts a constant name, like 'media'. There are some variables,
like AVP, that can also receive a variable name ( ex: $avp($avp(name))
), but note they can only receive a pseudo-variable, not a format ( li
Hi,
I define some values using the varset parameters of cfgutils module.
modparam("cfgutils", "varset", "media1=1.2.3.4")
modparam("cfgutils", "varset", "media2=4.3.2.1")
modparam("cfgutils", "varset", "media3=5.6.7.8")
I need a logic to dynamically select the the variables. Say for example:
I sel