Code:
-bash-3.2$ awk 'BEGIN {FS=OFS=","} {temp=$39; $39=$4; $4=temp} {print}' dip1.csv > Accntfound2.csv
-bash-3.2$ awk 'BEGIN {FS=OFS=","} {temp=$39; $39=$7; $7=temp} {print}' Accntfound2.csv > Accntfound3.csv
-bash-3.2$ cat Accntfound3.csv | cut -f4,7,24,36,39 -d","|sort -u
+27116452690,+27116452690,10.0.109.13:5060,+27116452690,+27825702918
+27123345534,+27128079817,Group,+27123345534,+27128079817
+27123345560,+27315695024,Group,+27123345582,+27315695024
+27215289900,+27215289900,Group,+27215289900,+27119393742
+27215289900,+27215289900,Group,+27215289900,+27182908474
+27215289900,+27215289900,Group,+27215289900,+27215517696
+27215289900,+27215289900,Group,+27215289900,+27218322200
+27215289900,+27215289900,Group,+27215289900,Unavailable
+27215289912,+27215289912,Group,+27215289912,+27219761935
+27215289915,+27215289915,Group,+27215289915,+27219405911
+27873500077,+27113996891,196.35.130.52,828854047,+27113996891
+27873529097,+27828964576,10.0.108.25:5060,+27873529097,+27828964576
+27873548291,+27514452472,10.0.108.25:5060,+27514485042,+27514452472
+27873548291,+27722832983,10.0.109.17:5060,+27514485042,+27722832983
+27873548291,Unavailable,10.0.108.25:5060,+27514485042,Unavailable
+27873548291,Unavailable,10.0.109.17:5060,+27514485042,Unavailable
+27873548800,+27767269367,196.35.130.52,+27873548800,+27873548800
+27873570114,+27873570164,Group,+27873570114,+27832146078
+27873570170,+27873570208,Group,+27873570170,+27832146078