Skip to main content

Posts

Install OpenVPN on AlmaLinux 9.5

 To install OpenVPN on AlmaLinux 9.5, you can follow these steps: 1. Update the System : Before installing any software, it's a good idea to update your system: sudo dnf update -y 2. Install EPEL Repository : OpenVPN is available in the EPEL (Extra Packages for Enterprise Linux) repository. First, install the EPEL repository: sudo dnf install epel-release -y 3. Install OpenVPN : After enabling the EPEL repository, install OpenVPN: sudo dnf install openvpn -y 4. Install NetworkManager (Optional) : If you are using NetworkManager for managing network connections, you can install the OpenVPN plugin for NetworkManager: sudo dnf install NetworkManager-openvpn -y 5. Configure OpenVPN : Once installed, you need to configure OpenVPN by copying your .ovpn configuration file to the /etc/openvpn/ directory: sudo cp /path/to/your/config.ovpn /etc/openvpn/ 6. Start OpenVPN : You can start OpenVPN by specifying the configuration file directly: sudo openvpn --config /etc/open...
Recent posts

Windows 10

 Windows 10 Printer sharing  ❌ Operation failed with error 0x0000011b is a known Windows update security issue that started appearing around late 2021 when Microsoft disabled remote printing over SMB by default to fix a security vulnerability (PrintNightmare). Permanent Fix for Error 0x0000011b (April 2025 working method) You need to add a registry key on the printer host PC (192.168.0.100) to disable RPC encryption enforcement : 🔧 Step 1: Add Registry Entry on Host PC Save this as fix_0x0000011b.reg on 192.168.0.100 (printer host): reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print] "RpcAuthnLevelPrivacyEnabled"=dword:00000000 Save as .reg file Right-click > Merge Restart the PC ✅ Or Run this Command in CMD (on Host PC) cmd reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print" /v RpcAuthnLevelPrivacyEnabled /t REG_DWORD /d 0 /f Then reboot. 🔧 Optional: Full Batch Script to Fix 0...

Alma 9 Vicidial Selfsign Webrtc

I am going to provide step by step guide to integrate, enable and configure the viciphone(a webrtc phone) in vicidial (also applicable to any vicidial based system) using the Self Signed SSL Certificate ,ie without a public-ip and FQDN or accessing the vicidial with internal LAN IP. 1️⃣ Install OpenSSL (if not installed) sudo dnf install -y openssl 2️⃣ Generate a Private Key openssl genpkey -algorithm RSA -out selfsigned.key -pkeyopt rsa_keygen_bits:2048 3️⃣ Create a Certificate Signing Request (CSR) openssl req -new -key selfsigned.key -out selfsigned.csr It will prompt you for details like: Country Name (e.g., IN ) State or Province (e.g., Gujarat ) Locality (City) Organization Name Common Name (Domain, e.g., example.com or your server IP) Email Address You can use localhost or an IP address if needed. 4️⃣ Generate a Self-Signed Certificate openssl x509 -req -days 365 -in selfsigned.csr -signkey selfsigned.key -out selfsigned.crt -days 365 → Valid for 1 year (Adjust as needed) ...

GSWAN STATIC ROUTE ADD

GSWAN STATIC ROUTE ADD  sudo ip route add 10.0.0.0/8 via 10.0.XX.XXX(STATIC IP ADDRESS OF SEVER) dev enpXXX Replace enpXXX with your NIC name #GSWAN route @reboot sleep 10 && /usr/sbin/ip route add 10.0.0.0/8 via 10.0.XX.XXX(STATIC IP ADDRESS OF SEVER) dev enpXXX Replace enpXXX with your NIC name

Install the No-IP client (Dynamic Update Client) on AlmaLinux 9

 Install the No-IP client (Dynamic Update Client) on AlmaLinux 9 1. Install Required Packages First, install the necessary packages to compile the client from source. sudo dnf install gcc make wget tar 2. Download the No-IP DUC (Dynamic Update Client) Download the latest version of the No-IP DUC. cd /opt wget https://www.noip.com/client/linux/noip-duc-linux.tar.gz 3. Extract the Downloaded File Extract the downloaded tarball. tar -zxvf noip-duc-linux.tar.gz cd noip-2.1.9-1/ 4. Compile the Client Run the following commands to compile the client. sudo make install 5. Configure the No-IP Client After installation, you’ll be prompted to enter your No-IP account credentials (email and password) and choose the hostname(s) to update. If not, you can manually run the configuration: sudo /usr/local/bin/noip2 -C 6. Start the No-IP Client To start the client: sudo /usr/local/bin/noip2 7. Verify Installation To confirm that the No-IP DUC is running, use: sudo /usr/local/bin/noip2 -S 8. Set Up...

BSNL Incoming DID Dialplan

  [from-trunk] ; Try to capture DID if provided directly exten => _X.,1,NoOp(Incoming call with DID: ${EXTEN} and Caller ID: ${CALLERID(num)})  same => n,Set(realDID=${EXTEN})  same => n,Set(CALLERID_INFO=${CALLERID(num)})  same => n,NoOp(Direct DID: ${realDID}, Caller ID: ${CALLERID_INFO})  same => n,Dial(SIP/GATEWAY/${EXTEN})  same => n,Hangup() ; Fallback if no DID is provided (calls to 's' extension) exten => s,1,NoOp(Fallback - No DID provided, attempting header extraction)  same => n,Set(CALLERID_INFO=${CALLERID(num)})  ; Extract the DID from the To header and strip any additional information  same => n,Set(PJSIP_HEADER=${SIP_HEADER(To)})  same => n,Set(realDID=${CUT(CUT(PJSIP_HEADER,@,1),:,2)})  same => n,ExecIf($["${realDID}" = ""]?Set(realDID=UNKNOWN))  same => n,NoOp(Extracted DID: ${realDID}, Caller ID: ${CALLERID_INFO})  same => n,Dial(SIP/GATEWAY/${realDID})  same =...

Upgrade OpenSuSE from Leap 15.5 to 15.6

  Step 1 – Change existing repo’s  files="$(zypper lr -u | awk -F'|' '$4 ~ /Yes/ { gsub (" ", "", $2); r=" / etc / zypp / repos.d / "$2".repo"; print r }')" for f in $files do echo "Backup of $f saved to /root/ before patching it up ..." cp -f "$f" / root / sed -i 's+/leap/15.5+/leap/$releasever+' "$f" sed -i 's+15.5+15.6+' "$f" sed -i 's+15.5+15.6+' "$f" done Step 2 – Update and reboot zypper --releasever=15.6 ref "May be get error in vicidial repo so rollback perticular repo to old one. zypper --releasever=15.6 dup reboot Make backup of  mod_php7.conf to php7.conf or the dynportal and audiostore conf files will cause apache to have errors. You can do so with the following command: cp /etc/apache2/conf.d/mod_php7.conf /etc/apache2/conf.d/php7.conf  varify.:- cat /etc/os-release NAME="openSUSE Leap" VERSION=...

VC APP Installation

  Run Below steps for VC installation cd /usr/src/ https://github.com/manish23k/Voicelogger-App-With-Ast-1.8-.git #install php-intl required for CI 4.3 yum install php-intl cd /usr/src/ Voicelogger-App-With-Ast-1.8 unzip  Voicelogger_NEW.zip cd  Voicelogger_NEW mysql create database voicecatch; use voicecatch; source voicecatch_14-08-2024.sql; ADD CRON ACCESS TO VOICECATCH mysql GRANT SELECT,CREATE,ALTER,INSERT,UPDATE,DELETE,LOCK TABLES on voicecatch.* TO cron@'%' IDENTIFIED BY '1234';  GRANT SELECT,CREATE,ALTER,INSERT,UPDATE,DELETE,LOCK TABLES on voicecatch.* TO cron@localhost IDENTIFIED BY '1234';  GRANT RELOAD ON  .  TO cron@'%'; GRANT RELOAD ON  .  TO cron@localhost;  flush privileges; SET GLOBAL connect_timeout=60; exit; #Copy Voicelogger App to html cd /usr/src/ Voicelogger-App-With-Ast-1.8 mv  Voicelogger_NEW voicelogger mv voicelogger /var/www/html #Copy test.php to /var/www/html Add below line into cron if not there #P...

Vicidial Scratch installation Alma -9

Step 1 – Download the dependencies   hostnamectl set-hostname xxxxxx.xxxxx.xxx ### Use YOUR SubDomain vi /etc/hosts ##Change domain name for actual server ip (xxx.xxx.xxx.xxx   complete domain name    subdomain only) timedatectl set-timezone Asia/Kolkata yum check-update yum update -y yum -y install epel-release yum update -y yum install git -y yum install -y kernel* #Disable SELINUX sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config     reboot Step 2 – Run the Script cd /usr/src/ git clone https://github.com/manish23k/vicidial-install-scripts cd vicidial-install-scripts chmod +x alma-rocky9-ast16.sh ./alma-rocky9-ast16.sh Or the Asterisk 18 version: chmod +x alma-rocky9-ast18.sh ./alma-rocky9-ast18.sh

Vicidial Access forbidden! on recording links

 nano  /etc/apache2/confid/vicirecord.conf Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/" <Directory "/var/spool/asterisk/monitorDONE">     Options Indexes MultiViews     AllowOverride None     Order allow,deny     Allow from all         <files *.mp3>                 Forcetype application/forcedownload         </files> </Directory> chmod 755 /var/spool/asterisk systemctl restart apache2 Check its working or not. http://SERVERIP/RECORDINGS