We are using Iristel for a trunk. The host that sends the SIP calls to our freepbx is iristel.net which resolves to 126.96.36.199 and 188.8.131.52
we tried both the following
When Chan_Sip Peers shows the iristel trunk as 184.108.40.206 I get Log(“SIP/220.127.116.11-00000048”, "WARNING,“Rejecting unknown SIP connection from 18.104.22.168"”) 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=22.214.171.124&126.96.36.199 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.
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.