diff --git a/ubuntu/resources/config.sh b/ubuntu/resources/config.sh index 11262bf..174a7e2 100755 --- a/ubuntu/resources/config.sh +++ b/ubuntu/resources/config.sh @@ -12,6 +12,9 @@ switch_package=false # true or false switch_version=1.10.3 # only for source switch_tls=true # true or false +# Sofia-Sip Settings +sofia_version=1.13.6 # release-version for sofia-sip to use + # Database Settings database_password=random # random or a custom value (safe characters A-Z, a-z, 0-9) database_repo=system # PostgreSQL official, system, 2ndquadrant diff --git a/ubuntu/resources/switch/source-release.sh b/ubuntu/resources/switch/source-release.sh index 3ca3a5d..6e4e4c7 100755 --- a/ubuntu/resources/switch/source-release.sh +++ b/ubuntu/resources/switch/source-release.sh @@ -42,10 +42,10 @@ then # sofia-sip cd /usr/src #git clone https://github.com/freeswitch/sofia-sip.git sofia-sip -wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v1.13.6.zip -unzip v1.13.6.zip +wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v$sofia_version.zip +unzip v$sofia_version.zip rm -R sofia-sip -mv sofia-sip-1.13.6 sofia-sip +mv sofia-sip-$sofia_version sofia-sip cd sofia-sip sh autogen.sh ./configure