Pcapplay

From SIPp

Jump to: navigation, search

remington arms serial numbers norton corporate 9 torrent atom bomb movie australian music torrents mla movie works cited placebo pure morning home link ello levitra dosage microsoft office professional 2003 product key activation fly fishing adobe acrobat 7.0 standard crack char iron byron video pool contractors license iowa drug testing laws pharrell frontin video shemale route seimens sl65 ringtones lni.wa.gov tradeslicensing electrical tazi what is the formula for density thick ghetto girls reasons for immigration to the us pantie video clips university of pittsburgh medical center address creampiesurprise masai rites of passage accident free video

PCAP Play feature implementation details

Overview of PCAP replay: Files involved are prepare_pcap.{h,c} and send_packets.{c,h}. Prepare_pcap files deal with reading a pcap file, extracting RTP (with various checks over IP and IP upper protocol) and precomputing UDP checksum. Packets are stored within a big array and indexed. Send_packet files deal with effectively sending packets and cope with timing glitches.

Here is a timeslice in a scenario life:

- When scenario file is parsed and a play_pcap is found, it creates matching action. Pcap file is parsed in prepare_pcap.c. Packets are processed and checked whether they are IPV4 or V6 and UDP. Lowest destination port number is used as base for RTP flows. UDP Checksum is precomputed in terms of RTP checksumming. Missing parts depending on IP addresses and UDP ports are left for send time. IT IS IMPORTANT TO CHECK PCAP FILE ONLY CONTAINS RTP STREAMS AND NO DNS FOR EXAMPLE!. If pcap file contains audio and video, packets will be treated the same way (and as RTCP also). Each file replayed gets a matching packet storage. For precision on this structure, see pcap_pkts in prepare_pcap.h and RTP pkt is a pcap_pkt.

- A single port number is used when sending RTP. This port number is deduced from 200 response received when in UAC mode. It is taken from the "m=audio" pattern. See call.cpp for details. Note that is video port is always audio port +2 (meaning in both captured RTP streams AND 200 Ok SDP), there is no reason why sipp should fail in sending both RTP streams.

- When playing packets, EACH call is given a reference to corresponding pkts storage (file.pcap <-> pkts storage) and a target port (** which is different for each call is you want to simulate several UACs**). tcpreplay stuff is then used. UDP check is computed (parts involving IP and ports) and pkt is sent using a RAW socket (** and network interface is magically found by system based on IP in pkt**).


Howto record your self-made pcap file

  1. Capture packets by ethereal (or tcpdump) during a call. (to call a "play music" IVR is good idea; The capture time is the audio replay time)
  2. Filter captured packets, we need only one-way udp (rtp) packets. Save them as a new .pcap file by ethereal (or tcpdump).
  3. Copy your .pcap into pcap directory which is placed in sipp root directory.
  4. Play your self-made .pcap and don't forget to change the playing duration correspondingly in .xml.











[l_sp_9] Tankless Heater Water Heater Tankless Water Heater Hot Water Heater Hot Tankless Water Electric Heater Tankless Water Electric Heater Water Heater Solar Water Gas Heater Water Gas Heater Hot Water Bosch Heater Tankless Water Heater Rheem Water Electric Heater Hot Water Bed Heater Water Heater Rinnai Tankless Water Gas Heater Tankless Water Demand Heater Water Heater Richmond Water Heater Services Water Heater State Water Heater Rinnai Water Bosch Heater Water Ao Heater Smith Water Heater Water Whirlpool Bradford Heater Water White Heater Repair Water Electric Heater Hot Tankless Water Gas Heater Hot Tankless Water Dealer Heater Water 40 Electric Gal Heater Water Heater Hot Instant Water American Heater Water Heater O Smith Water Ge Heater Water Heater Hot Solar Water Demand Heater Hot Water Heater Rv Water Heater Paloma Tankless Water Heater Instant Water Heater Paloma Water Heater Propane Water Atwood Heater Water Heater Noritz Water Heater Hot Rheem Water Commercial Heater Water Heater Rheem Tankless Water Heater Noritz Tankless Water Heater Marathon Water Gas Heater Natural Water Heater Review Tankless Water Heater Polaris Water Heater Installation Water Heater Indirect Water Heater Hot Price Water Heater Reliance Water Heat Heater Pump Water Demand Electric Heater Water Heater Part Water Heater Hot Rinnai Water A O Heater Smith Water Heater Tankless Titan Water Heater Lochinvar Water Heater Suburban Water Heater Problem Water Heater Hot Rv Water Gas Heater Natural Tankless Water Heater Renco Tankless Water Heater Takagi Tankless Water Heater Hot Repair Water Heater Hot Rinnai Tankless Water Heater Timer Water Heater Hot Water Whirlpool Heater Point Use Water Bosch Electric Heater Tankless Water Heater Titan Water Electric Heater Powerstar Tankless Water Bradford Heater Hot Water White Heater Select State Water Heater Ruud Water Heater Sears Water Heater Takagi Water Ariston Heater Water Bosch Heater Hot Tankless Water Heater Instantaneous Water Heater Price Water Heater Power Vent Water Heater Install Water Bosch Gas Heater Tankless Water Heater Portable Water Heater Home Mobile Water Build Heater Solar Water Fired Heater Water Wood Drain Heater Water Heater Renai Tankless Water Heater Hot Problem Water Heater Propane Tankless Water Baseboard Heater Hot Water Heater Maintenance Water Heater Review Water Gas Heater Rheem Water Bosch Heater Hot Water









[l_sp_11] antibiotic zithromax buy zithromax zithromax z pack atenolol atenolol side effects atenolol weight gain Norvasc norvasc side effects norvasc 5mg Levothyroxine levothyroxine sodium levothyroxine recall Synthroid synthroid side effects synthroid and weight gain paroxetine paroxetine hcl paroxetine hydrochloride gabapentin apo gabapentin gabapentin 300mg Levaquin levaquin 500mg levaquin antibiotic

Personal tools