[SR-Users] app_perl modifies Via header?

Igor Potjevlesch igor.potjevlesch at gmail.com
Tue Oct 25 09:49:33 CEST 2016


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 at gmail.com] 
Envoyé : lundi 24 octobre 2016 15:58
À : sr-users at 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161025/425fca3c/attachment.html>


More information about the sr-users mailing list