[asterisk-users] I'm not able to register Softphone(X-lite) in asterisk(Which is installed in EC2 Cloud).

Greg Woods greg at gregandeva.net
Mon Apr 20 07:27:30 CDT 2015


On Mon, Apr 20, 2015 at 1:58 AM, akhilesh chand <omakhileshchand at gmail.com>
wrote:

> Chain INPUT (policy ACCEPT)
> target     prot opt source               destination
> ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state
> RELATED,ESTABLISHED
> ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0
> ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
> ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            state NEW
> tcp dpt:22
> REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with
> icmp-host-prohibited
> ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp spt:5060
> ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp spt:5083
> ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp
> spt:10000
>

It looks like youre REJECT rule is getting hit before the accept rules for
asterisk. Try moving the REJECT rule to last in the list. I think your
firewall is blocking asterisk.

--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150420/763e8ca5/attachment.html>


More information about the asterisk-users mailing list