From 6759cb54bb8c688936241dfbfc72d9b45657f1a7 Mon Sep 17 00:00:00 2001 From: andronache Date: Thu, 24 Jun 2021 08:43:16 +0300 Subject: [PATCH] Modified anisble script for pjsua --- data/ansible/calls/asterisk/pjsua.yaml | 2 +- data/ansible/calls/freeswitch/pjsua.yaml | 5 +++-- data/ansible/calls/kamailio/pjsua.yaml | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/data/ansible/calls/asterisk/pjsua.yaml b/data/ansible/calls/asterisk/pjsua.yaml index a3bc1c3c6..ae489c498 100644 --- a/data/ansible/calls/asterisk/pjsua.yaml +++ b/data/ansible/calls/asterisk/pjsua.yaml @@ -26,4 +26,4 @@ shell: 'sudo mv pjsua-x86_64-unknown-linux-gnu /usr/bin/pjsua' args: chdir: '/tmp/pjproject-2.9/pjsip-apps/bin' - + \ No newline at end of file diff --git a/data/ansible/calls/freeswitch/pjsua.yaml b/data/ansible/calls/freeswitch/pjsua.yaml index 2b360519a..ae489c498 100644 --- a/data/ansible/calls/freeswitch/pjsua.yaml +++ b/data/ansible/calls/freeswitch/pjsua.yaml @@ -1,13 +1,13 @@ --- - name: Download PJSUA become: yes - shell: 'sudo wget https://www.pjsip.org/release/2.9/pjproject-2.9.tar.bz2' + shell: 'sudo wget https://github.com/pjsip/pjproject/archive/refs/tags/2.9.tar.gz' args: chdir: '/tmp' - name: Unzip PJSUA become: yes - shell: 'sudo tar -xvf pjproject-2.9.tar.bz2' + shell: 'sudo tar -xvf 2.9.tar.gz' args: chdir: '/tmp' @@ -26,3 +26,4 @@ shell: 'sudo mv pjsua-x86_64-unknown-linux-gnu /usr/bin/pjsua' args: chdir: '/tmp/pjproject-2.9/pjsip-apps/bin' + \ No newline at end of file diff --git a/data/ansible/calls/kamailio/pjsua.yaml b/data/ansible/calls/kamailio/pjsua.yaml index 2b360519a..ae489c498 100644 --- a/data/ansible/calls/kamailio/pjsua.yaml +++ b/data/ansible/calls/kamailio/pjsua.yaml @@ -1,13 +1,13 @@ --- - name: Download PJSUA become: yes - shell: 'sudo wget https://www.pjsip.org/release/2.9/pjproject-2.9.tar.bz2' + shell: 'sudo wget https://github.com/pjsip/pjproject/archive/refs/tags/2.9.tar.gz' args: chdir: '/tmp' - name: Unzip PJSUA become: yes - shell: 'sudo tar -xvf pjproject-2.9.tar.bz2' + shell: 'sudo tar -xvf 2.9.tar.gz' args: chdir: '/tmp' @@ -26,3 +26,4 @@ shell: 'sudo mv pjsua-x86_64-unknown-linux-gnu /usr/bin/pjsua' args: chdir: '/tmp/pjproject-2.9/pjsip-apps/bin' + \ No newline at end of file