[sr-dev] assign 'null' value to pv not work

Andrei Pelinescu-Onciul andrei at iptel.org
Thu Oct 8 16:03:32 CEST 2009


On Oct 08, 2009 at 15:10, Henning Westerholt <henning.westerholt at 1und1.de> wrote:
> Hi all,
> 
> for deleting a pseudo-variable we use in kamailio time the 'null' assignment. 
> This is needed for example when you use the hash table or memcache module.
> 
> I think it worked some time ago, but now it seems broken. From a test cfg:
> 
> ...
> 44:	        $mct(test) = null;

Try $null instead (Daniel added it long time ago as an equiv. for the k
null).

> ...
> 
> Oct  8 15:07:20 ca ser: : <core> [cfg.y:3209]: parse error in config file sip-
> router/test/unit/45.cfg, line 44, column 19: syntax error
> Oct  8 15:07:20 ca ser: : <core> [cfg.y:3209]: parse error in config file sip-
> router/test/unit/45.cfg, line 44, column 19: '('')' expected (functioncall)
> 
> Is this a known problem, perhaps i forgot about some compatibility workaround?

Andrei



More information about the sr-dev mailing list