Как сделать чтобы в Битрикс24 попадал номер звонящего
#!/bin/bash
addr=`nslookup $1 | grep -A 3 Non-authoritative | grep Address: | awk '{print$2}'`
origin=`whois -h whois.radb.net $addr | grep origin | awk '{print$2}'`
echo $origin
origin_quare="whois -h whois.radb.net '!g$origin' | grep /"
echo $origin_quare;
echo "#$addr"
addrpool=`whois -h whois.radb.net "!g$origin" | grep /`
for word in $addrpool; do
echo "$word"
done
# Change this line if you want dns to get its upstream servers from
# somewhere other that /etc/resolv.conf
#resolv-file=
# By default, dnsmasq will send queries to any of the upstream
# servers it knows about and tries to favour servers to are known
# to be up. Uncommenting this forces dnsmasq to try each query
# with each server strictly in the order they appear in
# /etc/resolv.conf
#strict-order
но открывает http версию)