› VitalPBX Community Support › General Discussion › VitalPBX under NAT
- This topic has 7 replies, 3 voices, and was last updated 1 year, 2 months ago by
olegbo.
- Post
-
- November 7, 2019 at 4:19 pm
Hi All,
My diagram
INTERNET<-NAT->Firewall – VitalPBX ( 10.x.x.x) -IPphone
I use SIP trunk to my service provider , incoming/outgoing call working fine until today.
I can’t call out and receive any call from our VOIP service provider. after debug VOIP service provider answer they only received voip data from my VItalPBX private IP ( 10.x.x.x) not from my Internet IP so they reject my voip data.
i have checked NAT configuration in Firewall , everything seem working fine except voip.
Could you please help me to resolve this issue.
Thanks you so much.
0
- Replies
-
- November 8, 2019 at 8:42 pm
- November 9, 2019 at 3:22 pm
0- November 10, 2019 at 6:40 pm
- November 11, 2019 at 3:46 am
Hi Mrivera,
we don’t define Public and private IP in SIP setting, i keep the default setting.
https://i.imgur.com/R1Fv4nO.png~
below is our /etc/asterisk/ombutel/sip__10-general.conf
[general]
context=sip-default
udpbindaddr=0.0.0.0:5060
tcpbindaddr=0.0.0.0:5060
tlsbindaddr=0.0.0.0:5061
tlscipher=ALL
tlsclientmethod=tlsv1
accept_outofcall_message=yes
allow=!all,ulaw,alaw,g729,g722,gsm
allowguest=noallowtransfer=yes
alwaysauthreject=yes
authfailureevents=no
autoframing=no
defaultexpiry=120
dumphistory=no
dynamic_exclude_static=no
faxdetect=no
g726nonstandard=no
jbenabled=no
jbforce=no
jbimpl=fixed
language=en
maxcallbitrate=384
maxexpiry=3600
minexpiry=60
notifycid=no
notifyhold=no
notifyringing=yes
preferred_codec_only=no
recordhistory=no
rtpholdtimeout=300
rtptimeout=30
sipdebug=no
srvlookup=no
tonezone=us
tos_audio=ef
tos_sip=cs3
tos_video=af41
videosupport=no
nat=no
websocket_enabled=true
autodomain=no
allowexternaldomains=yes
tcpenable=no
tlsenable=no
tlsdontverifyserver=no
useragent=VitalPBX
callcounter=yes
tos_text=af41
cos_sip=3
cos_audio=5Could you please help,
Thank you so much
0- November 12, 2019 at 2:44 pm
Hi Mrivera,
the service provider block our connect because VitalPBX use private IP when send packet to service provide.
could you please support me configure Vitalpbx using Public IP addres.
Thanks so much
0- November 13, 2019 at 6:14 pm
- You must be logged in to reply to this topic.