Below is a clean, complete PJSIP configuration in one block for your BSNL IMS SIP trunk using: DID: +9179XXXXXXXX Username: +9179XXXXXXXX Password: CEWBYXXXXX IMS Server: 10.191.25.1 Domain: gj.stbi.ims.bsnl.in You can copy-paste directly into pjsip.conf . Complete BSNL PJSIP Configuration ;============================== ; TRANSPORT ;============================== [transport-udp] type=transport protocol=udp bind=0.0.0.0 ;============================== ; AUTHENTICATION ;============================== [BSNL_AUTH] type=auth auth_type=userpass username= +9179XXXXXXXX password=CEWBYXXXXX ;============================== ; AOR ;============================== [BSNL_AOR] type=aor contact=sip:10.191.25.1:5060 qualify_frequency=60 ;============================== ; ENDPOINT ;============================== [BSNL] type=endpoint transport=transport-udp context=from-trunk disallow=all allow=ulaw allow=alaw aors=BSNL_AOR outbound_auth=BSNL_AUTH from_user= +9179XXXXXXXX from_domain=gj.stbi....
SAFE STEP-BY-STEP GUIDE 🔹 Step 1 — Confirm sdb1 has no important data lsblk Make sure /dev/sdb1 is not mounted anywhere important. 🔹 Step 2 — Format Disk (XFS recommended for AlmaLinux) mkfs.xfs -f /dev/sdb1 (If you prefer EXT4) mkfs.ext4 /dev/sdb1 🔹 Step 3 — Backup Existing Recordings Folder Very important if live server: mv /var/www/recordings /var/www/recordings_backup mkdir /var/www/recordings 🔹 Step 4 — Mount Disk mount /dev/sdb1 /var/www/recordings Check: df -h You should now see 1.8TB mounted there. 🔹 Step 5 — Restore Old Data (If Needed) If you had recordings already: cp -a /var/www/recordings_backup/* /var/www/recordings/ 🔹 Step 6 — Set Correct Permissions (Very Important for Asterisk) chmod -R 755 /var/www/recordings 🔹 Step 7 — Make Mount Permanent (Very Important) Get UUID: blkid /dev/sdb1 Example output: UUID = "abc123-xyz456" Edit fstab: nano /etc/fstab Add: UUID =abc123-xyz456 /var/www/recordings xfs def...