Hello,

 

I try to use app_perl and cnxcc module.

As soon as I load the module like this:

 

# --------- app_perl params ----

modparam("app_perl", "filename", "/usr/local/etc/kamailio/AAA/aaa-script.pl")

modparam("app_perl", "modpath", "/usr/local/lib64/kamailio/perl/")

 

The Via header is modified for each calls:

/usr/local/sbin/kamailio[21064]: INFO: <core> [parser/msg_parser.c:355]: parse_headers(): ERROR: bad header field [Via:ASIP/2.0/UDP 91.]

/usr/local/sbin/kamailio[21064]: ERROR: <core> [parser/parse_via.c:2048]: parse_via(): ERROR: parse_via: bad char <A> on state 100

 

What could explain this behaviour?

 

Regards,

 

Igor.