We are upgrading our PBX system to the latest FreePBX v14 edition. We made some test phone calls this morning before office hours. We noticed in the trace when we make a call EXT->INT our PBX server’s IP is sending out a ‘500 Internal Server Error’ to our providers IP. The call doesn’t go through whatsoever. However, when we make a call INT->EXT we don’t receive that 500 message and the call goes through successfully. Also, I turned on the SIP debug setting on in the Asterisk CLI, and we had noticed once again, when we make a call EXT->INT, in the CLI we receive an ERROR[8301], however, we didn’t receive that error when making a call INT->EXT. It’s like our server is not allowing an incoming call from the outside world.
SIP SETTINGS:
[Main-Timico-Trunk]
type=peer
directmedia=no
t38pt_udptl=no
transport=udp
host=IP_ADDRESS
port=5060
defaultuser=TimicoSIP
sendrpid=pai
disallowed_methods=UPDATE
nat=force_rport,comedia
secret=
insecure=invite
allow=alaw
allow=ulaw
allow=gsm
fromdomain=IP_ADDRESS
context=from-trunk-sip-Main-Timico-Trunk
Contents from sip_general_additional.conf:
accept_outofcall_message=yes
auth_message_requests=no
outofcall_message_context=dpma_message_context
faxdetect=no
vmexten=*97
useragent=FPBX-14.0.1.20(13.18.2)
disallow=all
allow=ulaw
allow=gsm
allow=alaw
context=from-sip-external
callerid=Unknown
notifyringing=yes
notifyhold=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
alwaysauthreject=yes
limitonpeers=yes
context=from-sip-external
callerid=Unknown
tcpenable=no
callevents=yes
bindport=5160
jbenable=no
checkmwi=10
maxexpiry=3600
minexpiry=60
srvlookup=no
allowguest=yes
notifyhold=yes
rtptimeout=30
canreinvite=no
rtpkeepalive=0
videosupport=no
defaultexpiry=120
notifyringing=yes
maxcallbitrate=384
rtpholdtimeout=300
g726nonstandard=no
registertimeout=20
registerattempts=0
nat=force_rport,comedia
ALLOW_SIP_ANON=no
tlsbindaddr=[::]:5161
externip=IP_ADDRESS
localnet=IP_ADDRESS/IP_ADDRESS
localnet=IP_ADDRESS/IP_ADDRESS
language=en
I’m not sure why we are sending out the 500 message?
Any ideas, please.