Help on registering SIP Gateway from ISP

I’m having problem with my setup.

The setup is Freepbx>router/firewall>SIP Gateway. I already setup NAT, and I can ping the SIP gateway from Freepbx. I’m going an ‘unreachable’ msg from the reporting.

this is my SIP settings:

host=10.105.66.237
type=friend
context=from-trunk
insecure=port,invite
trustrpid=yes
sendrpid=yes
directmedia=no
keepalive=45
dtmfmode=rfc2833
disallow=all
allow=ulaw
qualify=yes
nat=yes

There is no authentication given by the ISP, just a /30 network.

Please documeny your networking more fully, if the host is at

10.105.66.237

and it is a /30 network, then the interface your pbx connects to the gateway needs to have its ip

10.105.66.238

is this so?

Hello dicko,

Good day.

the setup is freepbx(192.168.10.62) is connected to the one interface of router/firewall(192.168.10.1) which is NAT-ted into another interface of router/firewall(10.105.66.238) that connects to SIP gateway(10.105.66.237).

I can ping the SIP gateway of freepbx. I don’t have access into SIP gateway.

There is just an IP address provided by the VOIP ISP(10.105.66.236/30).

10.105.66.236/30

is NOT an IP., it is a network, you need a route between 192.168.10.62 and the providing host in that network, you also need an IP address in 10.105.66.236/30 routed back to 192.168.10.62 generally that is done with a dedicated connection and an added route between the networks, but you might try

ip address add 10.105.66.238/30 dev eth0

as root where eth0 is your LAN interface name and the SIP server is at 237, ( I will wait for the cry’s of woe here . . . :slight_smile: )

Will try it. Thanks. Currently, we connected the Freepbx (10.105.66.238/24) into SIP gateway(10.105.66.237/30) along with laptop(10.105.66.100/24) to access the GUI of freepbx using a switch; we can ping the SIP gateway from Freepbx. Still getting an ‘unreachable’ msg.

If the router/firewall is NAT’ing your FreePBX to The SIP server’s network, you need it to symmetrically NAT the SIP server back to the FreePBX’s network to get two way communication. Much better to correctly route the twonetworks through your router.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.