FreePBX inbound call issue
-
Because nothing is hitting your PBX, you need to get a packet capture from the WAN side of the router.
You may need to drop a switch with the ports configured for mirroring and such in between your ISP modem and your Sophos in order to get this. Or Sophos may have the capability.
Contact Sophos about that bit, I have no clue.
-
I have been watching the logs for the last day or so as I've been testing. I've noticed on the Sophos that when the inbound calls don't work I get a hit on the firewall logs for my DNAT rule for my VOIP Provider > External WAN on port 5060
When inbound calls DO work, I get a hit for my DNAT rule, same IPs, but the port always shows as one of the RTP ports. So either way the calls ARE hitting at least the WAN interface and I'm getting a different response on the firewall depending on whether it works or not.
-
@samsmart84 said in FreePBX inbound call issue:
I have been watching the logs for the last day or so as I've been testing. I've noticed on the Sophos that when the inbound calls don't work I get a hit on the firewall logs for my DNAT rule for my VOIP Provider > External WAN on port 5060
When inbound calls DO work, I get a hit for my DNAT rule, same IPs, but the port always shows as one of the RTP ports. So either way the calls ARE hitting at least the WAN interface and I'm getting a different response on the firewall depending on whether it works or not.
There we go! You should not be getting anything inbound on port 5060. You do not need an inbound port forwarding rule for anything if your trunk is a standard register trunk going outbound. That outbound registration will keep the NAT tunnels alive and allow everything to work with zero port forwarding rules.
-
There are only two occasions when you want to port forward the traffic for your voice over IP.
Condition one if you have external phones.
Condition to is if your sip trunk provider does not use registration but instead uses IP validation. This is a rare case normally.
-
@jaredbusch said in FreePBX inbound call issue:
There are only two occasions when you want to port forward the traffic for your voice over IP.
Condition one if you have external phones.
Condition to is if your sip trunk provider does not use registration but instead uses IP validation. This is a rare case normally.
My SIP provider does actually use IP validation instead of registration.
I put in a support ticket with Sophos and they went through all of the rules/logs and confirmed that traffic is getting through both ways on the firewall. When inbound calling it is in fact being forwarded to the PBX, but the PBX is not responding back, which is why I'm getting dead silence on my inbound calls.
-
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
There are only two occasions when you want to port forward the traffic for your voice over IP.
Condition one if you have external phones.
Condition to is if your sip trunk provider does not use registration but instead uses IP validation. This is a rare case normally.
My SIP provider does actually use IP validation instead of registration.
I put in a support ticket with Sophos and they went through all of the rules/logs and confirmed that traffic is getting through both ways on the firewall. When inbound calling it is in fact being forwarded to the PBX, but the PBX is not responding back, which is why I'm getting dead silence on my inbound calls.
Actually no that’s not what was happening before. Before when the inbound calls were not working nothing hit the PBX
-
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
There are only two occasions when you want to port forward the traffic for your voice over IP.
Condition one if you have external phones.
Condition to is if your sip trunk provider does not use registration but instead uses IP validation. This is a rare case normally.
My SIP provider does actually use IP validation instead of registration.
I put in a support ticket with Sophos and they went through all of the rules/logs and confirmed that traffic is getting through both ways on the firewall. When inbound calling it is in fact being forwarded to the PBX, but the PBX is not responding back, which is why I'm getting dead silence on my inbound calls.
Actually no that’s not what was happening before. Before when the inbound calls were not working nothing hit the PBX
And it still fails to show anything on the PBX when it comes up blank.. but Sophos shows it as being pushed to the PBX with no drops! How the heck am I supposed to troubleshoot that?
-
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
There are only two occasions when you want to port forward the traffic for your voice over IP.
Condition one if you have external phones.
Condition to is if your sip trunk provider does not use registration but instead uses IP validation. This is a rare case normally.
My SIP provider does actually use IP validation instead of registration.
I put in a support ticket with Sophos and they went through all of the rules/logs and confirmed that traffic is getting through both ways on the firewall. When inbound calling it is in fact being forwarded to the PBX, but the PBX is not responding back, which is why I'm getting dead silence on my inbound calls.
Actually no that’s not what was happening before. Before when the inbound calls were not working nothing hit the PBX
And it still fails to show anything on the PBX when it comes up blank.. but Sophos shows it as being pushed to the PBX with no drops! How the heck am I supposed to troubleshoot that?
With the packet capture on up near port of the port going to the PBX
-
So I messed with my SIP trunk settings and inbound calling changed from dead silence to a busy signal so it's definitely getting through the firewall.
-
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
-
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
-
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
Yeah no clue... now that it's working I'm going to start looking at my options to upgrade this entire system. New PBX, new trunk provider, etc. I just don't trust this setup and I'd feel better having a system in place that I put in vs. an outdated one that I inherited.
-
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
Yeah no clue... now that it's working I'm going to start looking at my options to upgrade this entire system. New PBX, new trunk provider, etc. I just don't trust this setup and I'd feel better having a system in place that I put in vs. an outdated one that I inherited.
I am sure you have mentioned it in one post or another, but what version of what are you on?
-
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
Yeah no clue... now that it's working I'm going to start looking at my options to upgrade this entire system. New PBX, new trunk provider, etc. I just don't trust this setup and I'd feel better having a system in place that I put in vs. an outdated one that I inherited.
I am sure you have mentioned it in one post or another, but what version of what are you on?
It's not actually FreePBX, I mislabeled this and my previous thread originally. It's Elastix 2.6.18. We had a conversation awhile back about it as I didn't realize Elastix used a FreePBX GUI and thought I was running FreePBX the entire time
-
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
Yeah no clue... now that it's working I'm going to start looking at my options to upgrade this entire system. New PBX, new trunk provider, etc. I just don't trust this setup and I'd feel better having a system in place that I put in vs. an outdated one that I inherited.
I am sure you have mentioned it in one post or another, but what version of what are you on?
It's not actually FreePBX, I mislabeled this and my previous thread originally. It's Elastix 2.6.18. We had a conversation awhile back about it as I didn't realize Elastix used a FreePBX GUI and thought I was running FreePBX the entire time
Yup time to move. Do not bother trying to migrate. I tried Sangoma's migration script twice on two different Elastix servers. It sucked both times. Both times I rebuilt and manually migrated.
-
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
Yeah no clue... now that it's working I'm going to start looking at my options to upgrade this entire system. New PBX, new trunk provider, etc. I just don't trust this setup and I'd feel better having a system in place that I put in vs. an outdated one that I inherited.
I am sure you have mentioned it in one post or another, but what version of what are you on?
It's not actually FreePBX, I mislabeled this and my previous thread originally. It's Elastix 2.6.18. We had a conversation awhile back about it as I didn't realize Elastix used a FreePBX GUI and thought I was running FreePBX the entire time
Yup time to move. Do not bother trying to migrate. I tried Sangoma's migration script twice on two different Elastix servers. It sucked both times. Both times I rebuilt and manually migrated.
Haha yeah definitely NOT going to try to migrate.. any suggestions on what I should move to? Was thinking maybe latest actual FreePBX or something like 3CX
-
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
Yeah no clue... now that it's working I'm going to start looking at my options to upgrade this entire system. New PBX, new trunk provider, etc. I just don't trust this setup and I'd feel better having a system in place that I put in vs. an outdated one that I inherited.
I am sure you have mentioned it in one post or another, but what version of what are you on?
It's not actually FreePBX, I mislabeled this and my previous thread originally. It's Elastix 2.6.18. We had a conversation awhile back about it as I didn't realize Elastix used a FreePBX GUI and thought I was running FreePBX the entire time
Yup time to move. Do not bother trying to migrate. I tried Sangoma's migration script twice on two different Elastix servers. It sucked both times. Both times I rebuilt and manually migrated.
Haha yeah definitely NOT going to try to migrate.. any suggestions on what I should move to? Was thinking maybe latest actual FreePBX or something like 3CX
You are on Asterisk now, so stay on it.
Move to FreePBX 14.
-
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
Yeah no clue... now that it's working I'm going to start looking at my options to upgrade this entire system. New PBX, new trunk provider, etc. I just don't trust this setup and I'd feel better having a system in place that I put in vs. an outdated one that I inherited.
I am sure you have mentioned it in one post or another, but what version of what are you on?
It's not actually FreePBX, I mislabeled this and my previous thread originally. It's Elastix 2.6.18. We had a conversation awhile back about it as I didn't realize Elastix used a FreePBX GUI and thought I was running FreePBX the entire time
Yup time to move. Do not bother trying to migrate. I tried Sangoma's migration script twice on two different Elastix servers. It sucked both times. Both times I rebuilt and manually migrated.
Haha yeah definitely NOT going to try to migrate.. any suggestions on what I should move to? Was thinking maybe latest actual FreePBX or something like 3CX
You are on Asterisk now, so stay on it.
Move to FreePBX 14.
Sounds like a plan! Thanks
-
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
Yeah no clue... now that it's working I'm going to start looking at my options to upgrade this entire system. New PBX, new trunk provider, etc. I just don't trust this setup and I'd feel better having a system in place that I put in vs. an outdated one that I inherited.
I am sure you have mentioned it in one post or another, but what version of what are you on?
It's not actually FreePBX, I mislabeled this and my previous thread originally. It's Elastix 2.6.18. We had a conversation awhile back about it as I didn't realize Elastix used a FreePBX GUI and thought I was running FreePBX the entire time
Yup time to move. Do not bother trying to migrate. I tried Sangoma's migration script twice on two different Elastix servers. It sucked both times. Both times I rebuilt and manually migrated.
Haha yeah definitely NOT going to try to migrate.. any suggestions on what I should move to? Was thinking maybe latest actual FreePBX or something like 3CX
You are on Asterisk now, so stay on it.
Move to FreePBX 14.
I mean if you want to learn more, you could try Wazo or some other Asterisk distro.
But that is for people that want to be PBX people.
-
@jaredbusch said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
@jaredbusch said in FreePBX inbound call issue:
@samsmart84 said in FreePBX inbound call issue:
Well it appears to be working now... the busy signal lead me to think I could possibly tweak the trunk settings further on the PBX to get it all working. Switchd nat=no to nat=yes (Not sure why that didn't matter last time) and I also added qualify=yes. Looks like this explains why -
https://www.voip-info.org/asterisk-sip-qualify/
Interesting that this was working before without requiring this
Wow, that trunk is fucked up if you did not have those set...
I am surprised shit ever worked.This is a typical SIP trunk setup.
username=TRUNKUSERNAME type=friend trustrpid=yes sendrpid=yes secret=TRUNKPASSWORD qualify=yes nat=yes insecure=port,invite host=TRUNK.IP.ADD.RESS fromuser=TRUNKUSERNAME context=from-trunk canreinvite=nonat disallow=all allow=ulaw
Yeah no clue... now that it's working I'm going to start looking at my options to upgrade this entire system. New PBX, new trunk provider, etc. I just don't trust this setup and I'd feel better having a system in place that I put in vs. an outdated one that I inherited.
I am sure you have mentioned it in one post or another, but what version of what are you on?
It's not actually FreePBX, I mislabeled this and my previous thread originally. It's Elastix 2.6.18. We had a conversation awhile back about it as I didn't realize Elastix used a FreePBX GUI and thought I was running FreePBX the entire time
Yup time to move. Do not bother trying to migrate. I tried Sangoma's migration script twice on two different Elastix servers. It sucked both times. Both times I rebuilt and manually migrated.
Haha yeah definitely NOT going to try to migrate.. any suggestions on what I should move to? Was thinking maybe latest actual FreePBX or something like 3CX
You are on Asterisk now, so stay on it.
Move to FreePBX 14.
I mean if you want to learn more, you could try Wazo or some other Asterisk distro.
But that is for people that want to be PBX people.
Yeah I mainly just want something simple and stable at this point