for UDP
tcpdump -nnXs 0 udp -i eth0 -w name.cap

Btw, a pcap file (created on a linux server using tcpdump) capturing the 
RTP(udp) traffic opened up in wireshark, wireshark doesn't really 
format(or recognize) the packets as RTP, unlike the capture done live 
from a wireshark configured to capture RTP traffic.
In the former, wireshark shows up everything as UDP and I have to do a 
lot of manual parsing to find out the type etc in the packets captured.

Am I missing some config on wireshark here?

TiA
- Ben.

ľľ wrote:

> You can use the tcpdump comand in linux.
> Like: tcpdump -i eth0 -s 0 -w name.cap
> And you can open the cap file useing wireshark that is a good
> ------------------------------------------------------------------------
> 木木
> 2007-11-16
> ------------------------------------------------------------------------
> *发件人:* Doug
> *发送时间:* 2007-11-16 00:53:15
> *收件人:* Asterisk Users Mailing List - Non-Commercial Discussion; 
> Asterisk Users Mailing List - No
> *抄送:*
> *主题:* Re: [asterisk-users] DTMF Problem
> At 06:42 11/15/2007, =?gb2312?B?xL7Evg==?= wrote:
> >Hi,
> >
> >Could you capture the the UDP package
> How is this done?
> >in all of your server, Asterisk A, Asterisk B, ser, Asterisk C.
> >And you can find that server who lost the DTMF (RTP EVENT).
> >
> >
> >----------
> >Amy
> >2007-11-15
> >
> >----------
> >发件人: Arun Kumar
> >发送时间: 2007-11-15 20:30:45
> >收件人: Asterisk Users Mailing List - Non-Commercial Discussion; SER 
> Users
> >抄送:
> >主题: [asterisk-users] DTMF Problem
> >
> >Hi
> >
> >Here is my setup:
> >
> >USER ------ > PSTN ----- > Asterisk A ---- > IAX2 Trunk ---- > Asterisk
> >B --------- > SER -------- > Asterisk C
> >
> >I'm not able to receive DTMF passed by USER on Asterisk C.
> >
> >All my asterisk boxs are configured with same DTMF type (auto) but no 
> luck.
> >
> >Please help on this issue.
> >
> >
> >Thanks,
> >
> >Arun
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>------------------------------------------------------------------------
>
>_______________________________________________
>--Bandwidth and Colocation Provided by http://www.api-digital.com--
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>


EMAIL DISCLAIMER : This email and any files transmitted with it are 
confidential and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or copying is strictly 
prohibited. If you receive this transmission in error, please notify the sender 
by reply email and then destroy the message. Opinions, conclusions and other 
information in this message that do not relate to official business of Mascon 
shall be understood to be neither given nor endorsed by Mascon. Any information 
contained in this email, when addressed to Mascon clients is subject to the 
terms and conditions in governing client contract.

Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we 
can not guarantee that any email or attachment is free from computer viruses 
and you are strongly advised to undertake your own anti-virus precautions. 
Mascon grants no warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, howsoever caused. 



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to