[EMAIL PROTECTED] said:
>   <!-- Play a pre-recorded PCAP file (RTP stream)                       -->
>   <nop>
>     <action>
>       <exec play_pcap_audio="pcap/g711a.pcap"/>
>       <exec command="tcpdump-vent 9 -s 0 -w uac_echo_[remote_ip]_6000_`date
> +%F_%T`.pcap src host [remote_ip] and dst port 6000"/>
>     </action>
>    </nop>

> I'm confused; why are you playing back and capturing the file in the same
> script? I assume this is just proof of concept? 

Yes I was confusing you by copy-pasting the wrong lines, these produces 
capture on the receiving end :

  <nop>
    <action>
      <exec play_pcap_audio="pcap/g711a.pcap"/>
    </action>
  </nop>
  <nop>
    <action>
     <exec command="tcpdump-vent 9 -s 0 -w uac_echo_[remote_ip]_`date 
+%F_%T`.pcap src host [remote_ip] and dst portrange 6000-6100"/>
    </action>
  </nop>

cheers
  Olav


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to