Hello,

this should not happen -- is any config action executed, or this happen before first action in request_route being executed? You can add an xlog there to see if it is executed.

Cheers,
Daniel


On 25/10/16 09:49, Igor Potjevlesch wrote:

Hello,

 

Someone experienced the same issue? I test again and I'm sure that it happens when I load and setup the module app_perl. Even if it's not used into the config file.

 

Regards,

 

Igor.

 

De : Igor Potjevlesch [mailto:igor.potjevlesch@gmail.com]
Envoyé : lundi 24 octobre 2016 15:58
À : sr-users@lists.sip-router.org
Objet : app_perl modifies Via header?

 

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.



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - http://www.asipto.com