[OpenSIPS-Devel] Error in script

Dan Pascu dan at ag-projects.com
Mon Apr 22 02:45:00 EDT 2019


Seems fine now. Thanks.

On 20 Apr 2019, at 11:35, Liviu Chircu wrote:

> Should be fixed now -- do let me know if those pesky tokens cause any more trouble :)
> 
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com
> 
> On 19.04.2019 11:49, Liviu Chircu wrote:
>> Indeed, this is caused by the preprocessor extension, which adds some extra tokens which are not consumed because they happen to be enclosed within " ", so the STRING lexer rule takes precedence and includes them.  In short, the acc module actually receives this input:
>> 
>> modparam("acc", "extra_fields", "
>> __OSSPP_LINE__ 13
>>         log:
>> __OSSPP_LINE__ 14
>>                 username -> User-Name;
>> __OSSPP_LINE__ 15
>>                 asserted_identity -> Sip-RPid;
>> __OSSPP_LINE__ 16
>>                 billing_party -> Billing-Party")
>> 
>> Working on a fix -- currently, the script does not work with multi-line strings.
>> 
>> Liviu Chircu
>> OpenSIPS Developer
>> http://www.opensips-solutions.com

--
Dan







More information about the Devel mailing list