[OpenSIPS-Users] exec environmental var

Tito Cumpen tito at xsvoce.com
Wed Aug 23 18:54:31 EDT 2017


This is happening with the output variable now in the latest 2.2 clone


"output var must be a single variable"

I tried adding a space like it was previously suggested for the
environmental variable

On Wed, Jul 19, 2017 at 2:43 AM, Liviu Chircu <liviu at opensips.org> wrote:

> I didn't call it a "trick" without good reason :) Notice the extra
> whitespace (" "), which changes the internal type of that parameter from
> "single variable" to "variable format string".
>
> Nevertheless, the proper fix is already available [1]
>
> [1]: https://github.com/OpenSIPS/opensips/commit/8a1b3ef3e456
>
> Liviu Chircu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 19.07.2017 12:35, Johan De Clercq wrote:
>
> to me that seems like the same.
>
> 2017-07-19 10:15 GMT+02:00 Liviu Chircu <liviu at opensips.org>:
>
>> Hi Tito,
>>
>> This seems to be caused by some misused startup optimization logic. Below
>> is a scripting trick that should solve your problem until we take care of
>> providing the official solution.
>>
>> Change this:
>>
>> ..., "$avp(env)");
>>
>> into this:
>>
>> ..., "$avp(env) ");
>>
>> Liviu Chircu
>> OpenSIPS Developer
>> http://www.opensips-solutions.com
>>
>> On 19.07.2017 00:42, Tito Cumpen wrote:
>>
>>> Group,
>>>
>>>
>>> I am trying to migrate to the latest opensips 2.3 but I am having issues
>>> when setting this in my script.
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/20170823/e428ce29/attachment.html>


More information about the Users mailing list