Problems with SIP from host with 2 different IP's

We are using Iristel for a trunk. The host that sends the SIP calls to our freepbx is iristel.net which resolves to 209.58.101.235 and 209.58.101.236

we tried both the following
host=iristel.net
and
host=209.58.101.235&209.58.101.236

When Chan_Sip Peers shows the iristel trunk as 209.58.101.235 I get Log(“SIP/209.58.101.236-00000048”, "WARNING,“Rejecting unknown SIP connection from 209.58.101.236"”) in new stack which makes sense.

How can I get it to use both IP’s in the same trunk??? From the research that I have been doing host=209.58.101.235&209.58.101.236 should work.

Well I don’t experience with your provider however just looks like two separate sip servers to me. I would create a separate trunk in FreePBX for each with my provider.

2 Likes

host = dynamic|hostname|IPAddr

So Hostname should work.

Make sure that your DNS server is configured correctly (try pinging iristel.net from the server itself and see it resolves).

Regarding the inbound call… frankb is right regarding the suggested workaround… creating 2 Trunks will do the trick.

I use a provider that has two servers, primary and backup, both both are active. I’ve setup two trunks and it works well.

It’s not a workaround - it is absolutely the correct way to solve the problem. Think about it - it is set up for host authentication and the only way for host authentication to work is for the host to be identified.