<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
if Via header is missing, theoretically you cannot send a SIP reply,
because it has to be sent to the address in the Via header.<br>
<br>
In this case, kamailio is not executing the configuration file, the
message being dropped by the core as invalid sip packet.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 10/12/14 12:06, Kowalski Piotr 3 -
Hurt wrote:<br>
</div>
<blockquote
cite="mid:B0A73A9AF7581241A88BB918A4DF7F6635645F48@OPE10MB04.tp.gk.corp.tepenet"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Tekst dymka Znak";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.Stylwiadomocie-mail17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.TekstdymkaZnak
{mso-style-name:"Tekst dymka Znak";
mso-style-priority:99;
mso-style-link:"Tekst dymka";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello everybody, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We are facing a problem
with Sanity Module. We need to use it to force Kamailio to
send back 400 Bad Request message when there’s no VIA header
within INVITE.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">How can we achieve this?
In our opinion there’s no possibility to set this easy. We
get no answer from Kamailio when sending corrupted INVITE
(with no VIA headers).
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Many thanks for your
help. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<table class="MsoNormalTable" style="border-collapse:collapse"
cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td colspan="2" style="width:440.0pt;padding:0cm 3.5pt 0cm
3.5pt" valign="top" width="587">
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:10.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">Piotr
Kowalski<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:10.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">Starszy
Architekt Techniczny<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:10.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">Tel.
+48 22 699 50 93<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:10.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">Kom.
+48 519 123 289<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><o:p> </o:p></p>
</td>
</tr>
<tr>
<td style="width:40.0pt;padding:0cm 3.5pt 0cm 3.5pt"
valign="top" width="53">
<p class="MsoNormal" style="line-height:115%"><span
style="mso-fareast-language:PL"><img
id="Obraz_x0020_1"
src="cid:part1.08010906.07020909@gmail.com"
alt="Orange" height="40" width="40"></span><o:p></o:p></p>
</td>
<td style="width:400.0pt;padding:0cm 3.5pt 0cm 3.5pt"
valign="top" width="533">
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">Orange
Polska<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">Hurt<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">Badania
i Rozwój Sieci i Platform Usługowych<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">Wydział
Usług Konwergentnych<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">Obrzeżna
7 /p. 309, 02-691 Warszawa<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black"
lang="FR">Fax. +48 22 857 99 86<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black"><a
moz-do-not-send="true"
href="http://www.hurt-orange.pl/"><span lang="FR">www.hurt-orange.pl</span></a></span><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:black">
<span lang="FR"><o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:440.0pt;padding:0cm 3.5pt 0cm
3.5pt" valign="top" width="587">
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:5.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:#888888"
lang="FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:115%"><span
style="font-size:5.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:#888888">-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:440.0pt;padding:0cm 3.5pt 0cm
3.5pt" valign="top" width="587">
<p class="MsoNormal"
style="text-align:justify;line-height:115%"><o:p> </o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:440.0pt;padding:0cm 3.5pt 0cm
3.5pt" valign="top" width="587">
<p class="MsoNormal"
style="text-align:justify;line-height:115%"><b><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:#339933">Czy
musisz drukować tę wiadomość? Pomyśl o środowisku.
Korzystaj z e-faktury.
<o:p></o:p></span></b></p>
<p class="MsoNormal"
style="text-align:justify;line-height:115%"><o:p> </o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:440.0pt;padding:0cm 3.5pt 0cm
3.5pt" valign="top" width="587">
<p class="MsoNormal"
style="text-align:justify;line-height:115%"><span
style="font-size:8.0pt;line-height:115%;font-family:"Helvetica","sans-serif";color:#888888">Treść
tej wiadomości jest własnością Orange Polska i
zawiera informacje stanowiące tajemnicę
przedsiębiorstwa Orange Polska. Jeżeli nie jesteście
Państwo jej adresatem, bądź otrzymaliście ją przez
pomyłkę, prosimy o powiadomienie o tym nadawcy oraz
trwałe jej usunięcie. Orange Polska Spółka Akcyjna z
siedzibą i adresem w Warszawie (02-326) przy Al.
Jerozolimskich 160, wpisana do Rejestru
Przedsiębiorców prowadzonego przez Sąd Rejonowy dla
m.st. Warszawy XII Wydział Gospodarczy Krajowego
Rejestru Sądowego pod numerem 0000010681; REGON
012100784, NIP 526-02-50-995; z pokrytym w całości
kapitałem zakładowym wynoszącym 3.937.072.437
złotych.</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>