<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
if there is a unrelated chars in SIP trace , there may be str len mismatch for that module . Could you share header?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Nicolas Breuer <Nicolas.Breuer@belcenter.biz><br>
<b>Sent:</b> Wednesday, February 13, 2019 11:54 AM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Masking Contact Header</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">I tried and indeed the contact header is masked with topoh.<br>
<br>
Just one question : <br>
The masquerading is done after siptrace module because the original trace is stored in database.<br>
I suppose it's the expected behavior.<br>
<br>
I can also see that line in the trace : TH: uch<br>
Any ideas?<br>
<br>
<br>
-----Message d'origine-----<br>
De : sr-users <sr-users-bounces@lists.kamailio.org> De la part de Henning Westerholt<br>
Envoyé : mercredi 13 février 2019 09:20<br>
À : sr-users@lists.kamailio.org<br>
Objet : Re: [SR-Users] Masking Contact Header<br>
<br>
Am Mittwoch, 13. Februar 2019, 00:05:46 CET schrieb Marcos Pytel:<br>
> Im have an endpoint device that have a problem with long routers <br>
> headers. I dont know why cut the route when send packet to the server <br>
> and kamailio crash because cant parse the route. If i active topoh, <br>
> the router header is encrypted but is bigest than the original. If i <br>
> active the topos the kamailio crashed for another reason (I need try with the lastest version).<br>
> <br>
> <br>
> There is another way to send routes with less info? Or other config to <br>
> fix it?<br>
> [..]<br>
<br>
Hello Marcos,<br>
<br>
you can certainly use the textops module to remove headers, but in the case of the Route header it will probably break something regarding the SIP protocol.<br>
<br>
Kamailio should not crash if it encounters a invalid header. Can you open a bug report with more information about this in our issue tracker on github?
<br>
Then this crash could be just fixed.<br>
<br>
Best regards,<br>
<br>
Henning<br>
--<br>
Henning Westerholt - <a href="https://skalatan.de/blog/">https://skalatan.de/blog/</a> Kamailio services -
<a href="https://skalatan.de/services">https://skalatan.de/services</a> Kamailio security assessment -
<a href="https://skalatan.de/de/assessment">https://skalatan.de/de/assessment</a><br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
sr-users@lists.kamailio.org<br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
sr-users@lists.kamailio.org<br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div>
</span></font></div>
</div>
</body>
</html>