[SR-Users] kamailio.cfg errors with this example from documentation

Wilkins, Steve swwilkins at mitre.org
Fri Sep 7 16:36:50 CEST 2018


Yes, I  will assign it to 
$dlg_var(X) = $var(x);

-----Original Message-----
From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Alex Balashov
Sent: Friday, September 7, 2018 10:31 AM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] kamailio.cfg errors with this example from documentation

On Fri, Sep 07, 2018 at 02:20:11PM +0000, Wilkins, Steve wrote:

> 0(14444) CRITICAL: <core> [core/cfg.y:3489]: yyerror_at(): parse error 
> in config file /usr/local/etc/kamailio/kamailio.cfg, line 827, column
> 1-23: pvar with transformations in assignment left side

This is the real issue. Are you doing anything with the transformed value, like storing it in another variable? It cannot exist as a free-floating statement.

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


More information about the sr-users mailing list