-add media interface for RTP_ECHO

This commit is contained in:
Pi
2020-03-09 11:11:37 -04:00
parent 608b97d662
commit bc968726c3
3 changed files with 4 additions and 3 deletions

View File

@@ -4,5 +4,6 @@ then
echo "sipp is running"
else
cd /home/pi/sipp
./sipp -sn uac_pcap {{ hostvars[groups['sipserver'][0]].ansible_host }} -bg -l 40
#./sipp -sn uac_pcap {{ hostvars[groups['sipserver'][0]].ansible_host }} -bg -l 40
./sipp -sf call.xml {{ hostvars[groups['sipserver'][0]].ansible_host }} -r 6 -rp 90s -rtp_echo -mi {{ hostvars[inventory_hostname]['ansible_default_ipv4']['address']}} -bg
fi

View File

@@ -4,6 +4,6 @@ then
echo "sipp is running"
else
cd /home/pi/sipp
./sipp -sn uas -rtp_echo -bg -mi <address> -mp 6000
./sipp -sn uas -rtp_echo -mp 6000 -mi {{ hostvars[inventory_hostname]['ansible_default_ipv4']['address']}} -bg
fi

View File

@@ -55,7 +55,7 @@
- { src: "{{ role_path }}/files/startserver.sh", dest: "/home/pi/scripts/startserver.sh" }
- { src: "{{ role_path }}/files/startclient.sh", dest: "/home/pi/scripts/startclient.sh" }
- { src: "{{ role_path }}/files/stopclient.sh", dest: "/home/pi/scripts/stopclient.sh" }
tags_sipp_scripts
tags: sipp_scripts
- name: copy call files
copy:
src: "{{ item.src }}"