Hi Taner, OpenSIPS silently discards all UDP packages with a size smaller than 20 bytes. Whatever is higher will be subject to SIP parser. If you want to change the value, see config.h, the MIN_UDP_PACKET define.
Regards, Bogdan Taner Sener wrote: > Hi Iñaki, > > I'm using tcpdump to see UDP messages. Using > > tcpdump -i eth0 -n -s0 -vvv udp port 5060 > > i see the following message. A message containing text 'default send > string'. > ----------------------------------------------------------------------------------------------------------------------------- > 14:13:55.973673 IP (tos 0x0, ttl 64, id 52296, offset 0, flags [DF], > proto: UDP (17), length: 49) 10.10.7.10.42042 > 10.10.7.7.sip: [udp > sum ok] SIP, length: 21 > default send string > > 0x0000: 6465 6661 756c 7420 7365 6e64 2073 7472 > 0x0010: 696e 670d 0a > > the following trace belongs to a SIP OK message sent to opensips: > ------------------------------------------------------------------------------------------------------------- > 14:18:52.634149 IP (tos 0x0, ttl 128, id 19912, offset 0, flags > [none], proto: UDP (17), length: 316) 10.10.7.74.sip > 10.10.7.7.sip: > [udp sum ok] SIP, length: 288 > SIP/2.0 200 OK > CSeq: 10 OPTIONS > Via: SIP/2.0/UDP 10.10.7.7;branch=z9hG4bK2833.3edc8be2.0 > From: <sip:[email protected] > <mailto:sip%[email protected]>>;tag=533cb9e91f4b999cf76861cbb9ed54ed-a029 > Call-ID: [email protected] <mailto:[email protected]> > To: sip:[email protected] <mailto:sip%[email protected]> > Contact: sip:[email protected] <mailto:sip%[email protected]> > Content-Length: 0 > > > Thanks, > Taner > > On Tue, Dec 8, 2009 at 2:08 PM, Iñaki Baz Castillo <[email protected] > <mailto:[email protected]>> wrote: > > El Martes, 8 de Diciembre de 2009, Taner Sener escribió: > > Dec 8 10:49:13 sipproxy /sbin/opensips[12961]: > ERROR:core:receive_msg: no > > via found in request > > > > How can I disable this message from current version 1.6.0-notls. > > Can you show how that request looks when arrives to OpenSIPS? > > -- > Iñaki Baz Castillo <[email protected] <mailto:[email protected]>> > > _______________________________________________ > Users mailing list > [email protected] <mailto:[email protected]> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
