Hi Garey,
Let me clarify further.
1) OUTBOUND calls from the platform come from FreeSWITCH on port 11000 to your carrier, by default. For some carriers, for extra security, you must tell them that you will be terminating traffic to them from port 11000 or
they’ll reject it. (Load balancing has already occurred by the time you get to the B-leg or an originated leg via click-to-call so it’s no big deal that this doesn’t come from Kamailio, and you’ve simplified the routing per the reasons I listed earlier in
this thread)
2) INBOUND calls from your carrier to the platform should come to Kamailio on port 5060 or port 7000, by default. This will allow the load-balancing of inbound calls to work properly.
3) For some carriers, they don’t like that your INBOUND and OUTBOUND IPs are different (and, ironically, for others, they require that they be different). This, to me, is a “stupid lazy carrier” issue in my opinion (and
yes, it’s an opinion) because from what I’ve seen all carrier equipment actually will handle this, but many times the engineer in charge of configuration doesn’t know how to do it, or his processes don’t allow for it, thus they tell you it’s not possible.
Usually you can make a stink and they’ll set you up a workaround (sometimes two “trunk configs”, one for inbound and one for outbound, and two separate bills)
4) There is a hack out there where you can route your outbound calls via Kamailio but I refuse to re-post it because it defeats redundancy and strikes me as silly. However, feel free to scan the list for people talking about
fs_path because it does work, but it’s just so nasty I refuse to repeat it… We are working on more formal support for this (that’s not a hack) so that you can just give your carriers the same IP for inbound & outbound, simplifying setup, but frankly I still
think separating out the inbound from outbound is better (per the reasons that I, again, listed earlier in this thread)
There is a lot of my opinion which is based on experience in this reply. I’m sorry if it’s not what people want, but I am actually trying to help ya’all ;-) If you have suggestions on how we could do better without giving
people too much rope to hang themselves with other problems down the line, feel free to comment.