asterisk2billing.org
http://forum.asterisk2billing.org/

Iptables is blocking the dial tone from cell or phone line
http://forum.asterisk2billing.org/viewtopic.php?f=18&t=8347
Page 1 of 1

Author:  btaveras [ Fri Nov 12, 2010 11:35 pm ]
Post subject:  Iptables is blocking the dial tone from cell or phone line

Guys

This is weird, I have the iptables active and when I call me a2billing system and after it tells me how much I have in my account, I want to dial the number but its not taking the tones, it says please enter the number that we wish to dial and press the # key, 3 times, but I am putting the number form my cell phone and is not taking it. If I deactivate the iptables it works without problems.

any ideas?????

I have it in a trixbox

and these are my rules:

# Generated by iptables-save v1.3.5 on Sat Oct 30 15:34:34 2010
*nat
:PREROUTING ACCEPT [24672:10057843]
:POSTROUTING ACCEPT [12334:5518644]
:OUTPUT ACCEPT [12334:5518644]
COMMIT
# Completed on Sat Oct 30 15:34:34 2010
# Generated by iptables-save v1.3.5 on Sat Oct 30 15:34:34 2010
*mangle
:PREROUTING ACCEPT [48120:12729831]
:INPUT ACCEPT [47414:12537714]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [30388:12194390]
:POSTROUTING ACCEPT [30388:12194390]
COMMIT
# Completed on Sat Oct 30 15:34:34 2010
# Generated by iptables-save v1.3.5 on Sat Oct 30 15:34:34 2010
*filter
:FORWARD ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -i lo -j ACCEPT
# Xcast labs
-A INPUT -s 38.102.250.50 -i eth0 -j ACCEPT
-A INPUT -s 38.102.250.60 -i eth0 -j ACCEPT
-A OUTPUT -o eth0 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -s wholesale.xcastlabs.com -j ACCEPT
-A INPUT -s 200.26.174.66 -j ACCEPT
-A INPUT -s 208.124.204.138 -j ACCEPT
-A INPUT -s 192.168.0.0/255.255.255.0 -i eth0 -j ACCEPT
-A INPUT -i eth0 -j DROP
-A FORWARD -i eth0 -j ACCEPT
COMMIT
# Completed on Sat Oct 30 15:34:34 2010

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/