[OpenSIPS-Users] Users Digest, Vol 44, Issue 25

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Mar 16 12:52:36 CET 2012


Hi,

To get ngrep to filter the capturing on "300" do :
     ngrep -d any -W byline -t *300* port 5060

upload the output somewhere on pastebin or similar - this mailing list 
is limited to attachments of 40K.

Regards,
Bogdan

On 03/15/2012 04:54 PM, talha jilal wrote:
>
> Hello Bogdan,
>
>
> Here is my ngrep output, for only 300 extension where I am calling.  I 
> also attached ngrep full out put from when I start calling till end.
>
>
>
>
> To: <sip:300 at svoice.dyndns.org;user=phone>;tag=4249013220.
> Contact: "300" <sip:300 at 192.168.1.104:5060;transport=udp>.
> i="300"<sip:>.
> a=X-NameLabel:300.
> To: <sip:300 at svoice.dyndns.org;user=phone>;tag=4249013220.
> Contact: "300" <sip:300 at 192.168.1.104:5060;transport=udp>.
> i="300"<sip:>.
>
> ^C
>
> *
> *
> *
> *
> *Thanks !
> Talha Jilal
>
> *
>
> ------------------------------------------------------------------------
> Date: Wed, 14 Mar 2012 14:22:23 +0200
> From: bogdan at opensips.org
> To: talha_jilal at hotmail.com
> CC: users at lists.opensips.org
> Subject: Re: Users Digest, Vol 44, Issue 25
>
> I mentioned ngrep, not grep :D .
>
> Do :
>     ngrep -d any -W byline -t . port 5060
>
> Regards,
> Bogdan
>
> On 03/12/2012 08:54 PM, talha jilal wrote:
>
>
>     Hi,
>
>
>     Here is output with grep
>
>     Please advise me full command if I am doing some thing wrong, I am
>     using  centos 6.0 32 bit.
>
>
>
>     -bash-4.1#  tcpdump -i eth2 -n -s0 -vvv tcp  port 5060  | grep 300
>     tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture
>     size 65535 bytes
>
>
>
>     07:51:21.257355 IP (tos 0x0, ttl 118, id 27728, offset 0, flags
>     [DF], proto TCP (6), length 1300)
>     07:51:27.511152 IP (tos 0x10, ttl 64, id 6173, offset 0, flags
>     [DF], proto TCP (6), length 1300)
>     07:51:28.015258 IP (tos 0x10, ttl 64, id 6175, offset 0, flags
>     [DF], proto TCP (6), length 1300)
>     07:51:29.022329 IP (tos 0x10, ttl 64, id 6177, offset 0, flags
>     [DF], proto TCP (6), length 1300)
>
>
>
>
>     Thanks
>
>     ------------------------------------------------------------------------
>     Date: Mon, 12 Mar 2012 20:30:10 +0200
>     From: bogdan at opensips.org <mailto:bogdan at opensips.org>
>     To: talha_jilal at hotmail.com <mailto:talha_jilal at hotmail.com>;
>     users at lists.opensips.org <mailto:users at lists.opensips.org>
>     Subject: Re: Users Digest, Vol 44, Issue 25
>
>     Hi,
>
>     1) please keep the list at CC all the time !
>
>     2) the tcpdump output is no enough - use ngrep as I need to see
>     the actual content of the SIP package ; or make a pcap capture and
>     upload it somewhere for download.
>
>     Regards,
>     Bogdan
>

-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120316/dca9ed7a/attachment.htm>


More information about the Users mailing list