Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12597

Multiple Sip Providers - Multiple dedicated ISPS

$
0
0

@bcampbell wrote:

Have two ISPS - ISP1 and ISP2 and two SIP providers - SIP1 and SIP 2. Due to restrictions in the policy, SIP2 provider needs to use ISP2 exclusively for it's SIP related communication. Both ISPs terminate into a single firewall and I managed to get the network routing worked out so that it flows the way it should (FreePBX has only one interface but using Policy based routing all the SIP traffic for SIP B is going to ISP2 and everything else is going out ISP1). The problem that you are already saying in your head is that the sip registration for SIP B will never work as the "external" IP address that FreePBX has will only allow one to be specified globally - not per trunk.
After pouring over the internet and realizing that this is a known limitation (as discussed here), I still continued to look. I came across this from the Wiki in the "What Does That Stuff in the PEER Details Mean?" that states "nat=yes
"yes" tells Asterisk that the system you are communicating with is or may be behind a NAT, and that Asterisk should ignore the IPAddress in the from line and instead use the IP address that the packets actually come from." and it got me wondering...in my case, is that saying that nat=yes on SIP B provider's PBX would overcome this limitation or not being able to specify a different external address? I also wanted to ask before I get too excited if that concept is common in PBXs as I dont think SIP B provider is running Asterisk.
Secondly, the more I think about this the more it seems like a fairly straight forward problem and answer to allow a specific address per trunk. I know Chan SIP is mature and all the cool kids are trying to get PJSIP going, but is anyone aware if PJSIP has the ability to specify distinct ip addresses per trunk?

Thanks,

Brian

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12597

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>