mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
Modified anisble script for pjsua
This commit is contained in:
committed by
Dan Christian Bogos
parent
2e7d3e7449
commit
8aee3b6fe0
@@ -1,13 +1,13 @@
|
||||
---
|
||||
- name: Download PJSUA
|
||||
become: yes
|
||||
shell: 'wget https://github.com/pjsip/pjproject/archive/2.10.tar.gz'
|
||||
shell: 'sudo wget https://github.com/pjsip/pjproject/archive/refs/tags/2.9.tar.gz'
|
||||
args:
|
||||
chdir: '/tmp'
|
||||
|
||||
- name: Unzip PJSUA
|
||||
become: yes
|
||||
shell: 'tar -xvf 2.10.tar.gz'
|
||||
shell: 'sudo tar -xvf 2.9.tar.gz'
|
||||
args:
|
||||
chdir: '/tmp'
|
||||
|
||||
@@ -17,12 +17,13 @@
|
||||
|
||||
- name: Install PJSUA
|
||||
become: yes
|
||||
shell: './configure && make dep && make && make install'
|
||||
shell: 'sudo ./configure && make dep && make && make install'
|
||||
args:
|
||||
chdir: '/tmp/pjproject-2.10'
|
||||
chdir: '/tmp/pjproject-2.9'
|
||||
|
||||
- name: Copy PJSUA into /usr/bin
|
||||
become: yes
|
||||
shell: 'mv pjsua-x86_64-unknown-linux-gnu /usr/bin/pjsua'
|
||||
shell: 'sudo mv pjsua-x86_64-unknown-linux-gnu /usr/bin/pjsua'
|
||||
args:
|
||||
chdir: '/tmp/pjproject-2.10/pjsip-apps/bin'
|
||||
chdir: '/tmp/pjproject-2.9/pjsip-apps/bin'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user