[Asterisk-Users] Shorewall and asterisk on Mandrake

Andreas Schiffler aschiffler at appwares.com
Mon Mar 8 13:33:44 MST 2004


Hi,

I am struggling getting asterisk to work on my firewall box.

The Linux box is a firewall running Mandrake 9.2 and shorewall for
security and NAT. Asterisk is compiled and running on the firewall box
with a modified sample configuration. I am connecting to it using a
Sipura on the local LAN. This works fine and I can phone between
extensions (2201 and 2202) and access the voicemail menu via extension
'8'.

Now, I cannot get asterisk to register the two SIP providers I want to
use: FWD and ICH. The log reports that it did not register -
consequently I cant dial '6-612' to get the FWD date-speech. 

I've configured everything according to the manual and several example
config files as referenced on voxilla. The error message I get is a
timeout on sip-registration and some rtp timeouts. I assume its a
shorewall issue.


How do I need to configure Shorewall? (I have the following shorewall
domains: net, masq, fw, loc used in the rules.conf) Does someone have a
sample shorewall config?

How can I easily tell that asterisk registered properly with the SIP
provider?

Could someone post some a current working sample configs for FWD and ICH
which indicate the use of the various fields better than the existing
samples:
* For FWD I have 123456 (the number), AUTO_123456 (the user ID),
password.
* For ICH I have 1234567890 (the number without 1) 11234567890 (the
number with 1), 98765432 (the user id), password.


Thanks for any info.





More information about the asterisk-users mailing list