[test]
exten => 500,1,Goto(s,1)
exten => 603,1,Goto(s,1)
exten => s,1,Answer()
exten => s,n,Playback(hello-world)
exten => s,n,Hangup()
но особого смысла не имеет, т.к. вместо "s" может использоваться любой экстен gdb /usr/sbin/apache2 -c /tmp/apache-coredumps/core \
--eval-command='set pagination off' \
--eval-command='bt full' \
--eval-command='quit' >> /tmp/apache-coredumps/gdb-bt.log
iptables -t nat -A PREROUTING -d x.x.x.x -p tcp -m tcp --dport 8900 -j DNAT --to-destination y.y.y.y:8900
iptables -t nat -A POSTROUTING -d y.y.y.y -j SNAT --to-source x.x.x.x
iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -p tcp -m tcp -d y.y.y.y --dport 8900 -j ACCEPT
echo "nameserver 8.8.8.8" > /etc/resolv.conf
dns-nameservers 8.8.8.8
$ asterisk -rx "sip show settings" | egrep -i "prematur|progress"
No premature media: Yes
Progress inband: Never