Hi,
This is the first time I have posted on the forum and also new to using / setting up Asterisk. I have been working on a project for almost 3 months and have learnt a lot, most of time the hard way.
Our setup is as follows:-
HP Proliant ML350P Gen8 Server ( 3Ghz Xeon Quad, 8GB Ram, 1TB Raid 1 )
Cyberoam NG25iNG Hardware Firewall
CentOS 6.5
Asterisk 11.7.0
FreePBX 2.11.0.24
Above installed using the Schmooze.com 64bit Distro directly from the download link on the Schmooze.com website.
12 Extensions - ( 2 in use at the minute for testing )
4 Call Queues
1 IVR - ( 4 options, 1 for each queue ) - failover back to IVR
g729a Codec installed with correct amount Digium Commercial Licenses installed ( 6 in total as we are call recording )
g729 codec is shown in the Show Translation output
We have fibre broadband which connects from the fibre modem into the Cyberoam, this authenticates the PPPoE connection to the ISP and gets the ISP static assigned IP address, the PBX is on the internal LAN port, not in a DMZ, we have a static IP 81.xxx.xxx.xxx on the WAN port of Cyberoam and a 192.xxx.xxx.xxx on the LAN port of Cyberoam. We have no port forwarding setup to expose the PBX to the internet. 2 laptops connecting wirelessly to the internal network and using Zoiper Biz softphones for the calls, FOP2 is also installed and working correctly.
Our calls are being routed via an IP Trunk from an overseas 3rd party provider, this is configured in the trunk peer details as follows:-
type=friend
nat=yes
HOST=ip address of provider
disallow=all
context=from-trunk
canreinvite=no
allow=g729
dtmfmode=rfc2833
dtmfrelax=yes
We are only interested in receiving incoming calls so we have no configured outgoing call route, this is intentional. We are able to receive incoming calls during the day, our issue is that every night we have no incoming calls at all.
Our overseas callers are not able to make calls to our PBX during the night, we have not set any night service or time controls within FreePBX or Asterisk that we are aware of, it was a stock install
from the distro and configured as above. We don’t make any changes on our PBX but the following day the calls are able to connect.
This seems very strange as we don’t change any config our end, our overseas provider also state they don’t make any changes their end, but the calls just start to connect the following morning???
At the time we cannot receive incoming calls from the trunk we can make calls internally, always have been able to, we have re-booted the server when this happens to see it that resolves the issue, but when the server is back online, still no incoming calls.
We have run packet captures when test calls are being made but it shows nothing, not a trace of a call attempting to connect, we thought it could be some sort of time control somewhere but it doesn’t happen at the same time every night, yesterday they stopped after 17:30, the day before it was after 20:30 when calls stopped?
Has anyone had anything like this happen before?
We have checked the log files for clues but cannot see anything obvious, the PBX GUI is showing the trunk online, sip show peers, sip show registry all show the trunk as online even when we get no calls.
Does anyone know of any tools that we could use to try and get to the bottom of this, the PBX will be hosting a 24/7 service when it goes live, but at the moment that won’t be happening unless we can resolve the loss of call during the night.
Any advice help would be appreciated, as I said at the start, I’m new to this and could of easily missed something obvious.