[Asterisk-Users] Perhaps something obvious?

Matt Herzog msh at acheron.middleboro.ma.us
Wed Dec 29 10:21:51 MST 2004


I am a VoicePulse.com user although I have never been able to connect.
I have no dialtone nor can I determine if I have been authenticated.
Do I need to configure for sip? I was told I did not need SIP. 
Voicepulse does support sip . . . 

Asterisk does start and runs stably. I can login locally with "asterisk -r"
no problem. When I logged into my SPA 2000 using its web interface I noticed 
it is not registered. Below are my ipfilter and ipnat rules. (The firewall/
gateway is FreeBSD 5.3 but since I could not compile asterisk on FreeBSD 5.3 an "internal" gentoo machine is running it.)

from /var/log/asterisk/messages:

Dec 29 03:05:19 WARNING[18636]: Unable to open IAX timing interface: No such file or directory
Dec 29 03:05:20 WARNING[18636]: Unable to get our IP address, Skinny disabled
Dec 29 03:05:20 WARNING[18636]: Read error on sound device: Resource temporarily unavailable
Dec 29 03:05:20 WARNING[18636]: Unable to get IP address for localhost.localdomain, SIP disabled
Dec 29 03:07:48 WARNING[18664]: Unable to open pseudo channel for timing...  Sound may be choppy.
Dec 29 03:07:48 WARNING[18664]: Unable to get our IP address, MGCP disabled

I am able to access the Internet in any other protocol from the Asterisk/Gentoo box.

ipnat.conf:

rdr fxp0 0.0.0.0/0 port 4569 -> 10.0.0.147 port 4569 udp
rdr fxp0 0.0.0.0/0 port 5036 -> 10.0.0.147 port 5036 udp
rdr fxp0 0.0.0.0/0 port 5060 -> 10.0.0.147 port 5060 udp
map fxp0 10.0.0.0/24 -> 0/32 portmap tcp/udp 10000:65000
map fxp0 10.0.0.0/24 -> 0/32

pertinant ipf.conf rules:

Internal NIC is vr0

pass in quick on vr0 from any to any
pass out quick on vr0 from any to any

External NIC is fxp0 but I need not mention it in the below rules.

pass in quick proto udp from 66.234.228.170 to 24.98.219.30/32 port = 4569 group
 10
 pass in quick proto udp from 66.234.228.170 to 24.98.219.30/32 port = 5036 group
  10
  pass in quick proto udp from 66.234.228.170 to 24.98.219.30/32 port = 5060 group
   10





More information about the asterisk-users mailing list