VoIP ingame is blocked, my ISP which is in Egypt (WE) blocked Vivox related traffic which is responsible fro VoIP transmission and I can't use voice chat in game to communicate with my teammates.
I had to run a batch file to unblock the voip and it worked but it's no longer working,
this is the code:
@echo off
:: BatchGotAdmin
::-------------------------------------
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"="
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
pushd "%CD%"
CD /D "%~dp0"
ECHO Starting RainbowSix Voip Routing
set ip="IP Address"
rem set ip="IP Address"
for /f "tokens=3 delims=: " %%I in ('netsh interface IPv4 show addresses "vpn" ^| findstr /C:%ip%') do set ip_address=%%I
route add 74.201.103.0 mask 255.255.255.0 %ip_address%
ECHO **************************************************
ECHO ## Created by Mahmoud Ghonem , UPlay : B-LACK-Y ##
ECHO **************************************************
Pause
This used to unblock the VoIP but since the game update it no longer does, I have tried everything in the support page which said to open ports and to no avail, this is the only thing that fixed it, so I would like you to help me by changing anything in the code so it can unblock the VoIP again.
I had to run a batch file to unblock the voip and it worked but it's no longer working,
this is the code:
@echo off
:: BatchGotAdmin
::-------------------------------------
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"="
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
pushd "%CD%"
CD /D "%~dp0"
ECHO Starting RainbowSix Voip Routing
set ip="IP Address"
rem set ip="IP Address"
for /f "tokens=3 delims=: " %%I in ('netsh interface IPv4 show addresses "vpn" ^| findstr /C:%ip%') do set ip_address=%%I
route add 74.201.103.0 mask 255.255.255.0 %ip_address%
ECHO **************************************************
ECHO ## Created by Mahmoud Ghonem , UPlay : B-LACK-Y ##
ECHO **************************************************
Pause
This used to unblock the VoIP but since the game update it no longer does, I have tried everything in the support page which said to open ports and to no avail, this is the only thing that fixed it, so I would like you to help me by changing anything in the code so it can unblock the VoIP again.