CyCoreSystems / asterisk-k8s-demo

Demo of scalable Asterisk on Kubernetes
Apache License 2.0
158 stars 72 forks source link

Ability to Transfer to PTSN from behind NAT #12

Closed edifius closed 4 years ago

edifius commented 4 years ago

I am trying to transfer to a number with this dialplan:

exten => +15555555555,1,Background(silence/7) same => n, Dial(PJSIP/+15555555550@twilio-na-us,30,tT)

However, Sometimes, maybe 40% of the time, there is no audio one way. The research is that it is a NAT issue and the asterisk server or the outbound PTSN is unable to find the correct NATed IP address.

Is there any settings that I should know about to get transfers 100%?