LitleBill
Active Member
- Joined
- May 10, 2023
- Messages
- 146
- Reaction score
- 26
I would not expect that setup to work without using different ports for sip and with port forwarding in your firewall. In any case I'd be inclined not to trust it.I would think that if you use IP authentication and both of your PBX's have the same Public IP it could get dicey with registrations.
I agree. However, what I don't understand is that even if I have removed the previous working one and replace it with a new one with the same hardware and software, i.e., the same asterisk inplementation but with another yet identical hardware, still the replacement did not work. If I plugged in the original one back, it immediately works. Other voip providers, e.g., voip.ms do not have this problem.I appreciate your comment. I would think that if you use IP authentication and both of your PBX's have the same Public IP it could get dicey with registrations. I guess you could try different SIP ports but I am no expert here.
Mine is just the recommended Nerdvittle setup using a Crown cloud VPS and PJSIP trunk.
In which case it's most likely a configuration issue with the replacement pbx. Double check all the configs you migrated the the new hardware.I agree. However, what I don't understand is that even if I have removed the previous working one and replace it with a new one with the same hardware and software, i.e., the same asterisk inplementation but with another yet identical hardware, still the replacement did not work. If I plugged in the original one back, it immediately works.
Everything is exactly the same as I have alredy said!In which case it's most likely a configuration issue with the replacement pbx. Double check all the configs you migrated the the new hardware.
This is not a debate. It was a suggestion. You have not provided enough information to diagnose your problem. I’m out.Everything is exactly the same as I have alredy said!
I know it does not make sense. I gave up already. Just keep what working for me.
This is not true at all. You have two options with BulkVS, you are either doing use/pass registration or your are doing IP Auth. In either of those cases your local network IP (i.e. the one behind NAT on RFC1918 space) is irrelevant.I guess the reason was that, after the new PBX implementation was put online, it registers fine with BulkVS's server. Their server used the new local IP address for the outgoing calls. However, the incoming calls were still being sent to the old localnet IP address and because the old PBX is already offline, the signal had nowhere to go.
Thanks for pointing out.Yeah but @LitleBill is the original OP and their problem is not @twinclouds problem. @LitleBill's issue is the PBX is trying to auth challenge incoming calls.
Hi! Thank you for your explanation. What you said made perfect sense. Actually, BulkVS also gave me the same answer but not as clean as you said. Based on yours and BulkVS's explanations, I added the rules to open 5060 port 5060 to the BulkVS's server ip addresses. It works fine now for any localnet ip address. Thanks again!This is not true at all. You have two options with BulkVS, you are either doing use/pass registration or your are doing IP Auth. In either of those cases your local network IP (i.e. the one behind NAT on RFC1918 space) is irrelevant.
Additionally, there is an actual setting in the PBX for your External Media setup and where you define the local networks, that setting is called "localnet" (chan_sip) and "local_net" (chan_pjsip). The local networks defined in that setting will tell the PBX that when it receives a request for an external destination and the request is coming from an IP in the localnet setting, use the external media information in the SIP message.
So one of two things are happening here. First, improper NAT setup on the PBX. It isn't using the external media details when sending a REGISTER to BulkVS, therefore BulkVS gets a contact location with a private IP space. You can't route traffic over the public Internet to a private IP space. Second, you have a firewall NAT rule that was sending requests from BulkVS to a specific local IP in the network. An IP that was assigned to the old PBX and thus the NAT rule was sending traffic to a dead IP and by changing the current PBX to that IP, boom traffic hits it.
This doesn't seem like a BulkVS problem at all but an issue with how you setup the new PBX and the firewall/NAT changes that needed to go with it.
I said this too soon. It worked in my previous case but not in another set using a different local ip address. In all these cases, only one Asterisk PBX is active but on different localnet IPs. Even if I opened the 5060 port for incoming calls from all of the bulkVS host ip-addresses, The Asterisk on some localnet ips work but on the others did not work.Hi! Thank you for your explanation. What you said made perfect sense. Actually, BulkVS also gave me the same answer but not as clean as you said. Based on yours and BulkVS's explanations, I added the rules to open 5060 port 5060 to the BulkVS's server ip addresses. It works fine now for any localnet ip address. Thanks again!
Hi,This is not true at all. You have two options with BulkVS, you are either doing use/pass registration or your are doing IP Auth. In either of those cases your local network IP (i.e. the one behind NAT on RFC1918 space) is irrelevant.
Additionally, there is an actual setting in the PBX for your External Media setup and where you define the local networks, that setting is called "localnet" (chan_sip) and "local_net" (chan_pjsip). The local networks defined in that setting will tell the PBX that when it receives a request for an external destination and the request is coming from an IP in the localnet setting, use the external media information in the SIP message.
So one of two things are happening here. First, improper NAT setup on the PBX. It isn't using the external media details when sending a REGISTER to BulkVS, therefore BulkVS gets a contact location with a private IP space. You can't route traffic over the public Internet to a private IP space. Second, you have a firewall NAT rule that was sending requests from BulkVS to a specific local IP in the network. An IP that was assigned to the old PBX and thus the NAT rule was sending traffic to a dead IP and by changing the current PBX to that IP, boom traffic hits it.
This doesn't seem like a BulkVS problem at all but an issue with how you setup the new PBX and the firewall/NAT changes that needed to go with it.
Link up your team and customers Phone System
Live Chat
Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.