Hello,

I started to use Kamailio few months ago. Maybe this is a stupid issue but I can´t start Kamailio with NAT TRAVERSAL module and $keepalive.socket pseudo-variable.
My script configuration is the default template adding this lines (extracted from nat traversal doc):

...
loadmodule "nat_traversal.so"
...

...
$fs = $keepalive.socket($du);
...

I have this error:

-e
 0(17455) ERROR: <core> [pvapi.c:501]: error searching pvar "keepalive"
 0(17455) ERROR: <core> [pvapi.c:705]: wrong char [e/101] in [$keepalive] at [9 (0)]
 0(17455) : <core> [cfg.y:3330]: parse error in config file /etc/kamailio/kamailio.cfg, line 410, column 8-17: unknown script pseudo variable $keepalive
ERROR: bad config file (1 errors)


I tried in this environments:

 Ubuntu 10.04.4 LTS x86_64   Kamailio 3.3.3+git20130128+lucid1 
 Ubuntu 10.04.4 LTS i686     Kamailio 3.0.4+lucid1
 Ubuntu 12.04.1 LTS x86_64   Kamailio 3.3.2+precise1
 
All packages instaled from deb repositories (http://deb.kamailio.org/)

I think there are problem parsing "$keepalive.socket" pseudovariable, because Kamailio doesn´t scape this character "." and it doesn´t recognise the pseudovar.

Does anyone have this problem? 


Regards