[SR-Users] Sanity Module - no 400 Bad Request message when no VIA header

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 10 14:34:37 CET 2014


Hello,

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.

In this case, kamailio is not executing the configuration file, the
message being dropped by the core as invalid sip packet.

Cheers,
Daniel

On 10/12/14 12:06, Kowalski Piotr 3 - Hurt wrote:
>
> Hello everybody,
>
>  
>
> 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.
>
>  
>
> 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).
>
>  
>
> Many thanks for your help.
>
>  
>
>  
>
> Piotr Kowalski
>
> Starszy Architekt Techniczny
>
> Tel. +48 22 699 50 93
>
> Kom. +48 519 123 289
>
>  
>
> Orange
>
> 	
>
> Orange Polska
>
> Hurt
>
> Badania i Rozwój Sieci i Platform Usługowych
>
> Wydział Usług Konwergentnych
>
> Obrzeżna 7 /p. 309, 02-691 Warszawa
>
> Fax. +48 22 857 99 86
>
> www.hurt-orange.pl <http://www.hurt-orange.pl/>
>
>  
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - -
>
>  
>
> *Czy musisz drukować tę wiadomość? Pomyśl o środowisku. Korzystaj z
> e-faktury. *
>
>  
>
> 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.
>
>  
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141210/786248ba/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 578 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141210/786248ba/attachment.gif>


More information about the sr-users mailing list