<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span></span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166839" dir="ltr">Antony,</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_167029" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166967" dir="ltr">It is correct. Noone connects to Asterisk box/server from outside.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166947" dir="ltr">Callcentric SIP trunk configured and Asterisk maintains connection to it itself. No special ports opened, nothing. Connection happens from us to Callcentric and all calls routed in from Callcentric</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_167022" dir="ltr">I don't know exactly how it's doing it by it works.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166980" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166964" dir="ltr">Again, keep in mind it is working for many years for most / 90+% of calls</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166966" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166965" dir="ltr">#1. I don't think it will be possible to know :( Been 3 years.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166989" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166988" dir="ltr">#2-3. All callers call public phone number and they all come in to asterisk from Callcentric context.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166987" dir="ltr">When we call out - it goes out through Callcentric SIP trunk.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_167012" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_167013" dir="ltr">When we dial internal each others extensions there is no NAT, trunk or anything else and all works just fine...</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_167014" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_167015" dir="ltr">Debugging with "tshark" should be done on Asterisk machine I asume? </div><div class="qtdSeparateBR" dir="ltr"><br></div><div class="qtdSeparateBR" dir="ltr">Thank you!</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166946" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166924" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1550782660531_166925" dir="ltr">On Thursday 28 February 2019 at 00:26:17, Ivan Demkovitch wrote:<br id="yui_3_16_0_ym19_1_1550782660531_166883"><br id="yui_3_16_0_ym19_1_1550782660531_166884">><i id="yui_3_16_0_ym19_1_1550782660531_166885"> Asterisk is NOT exposed to internet, noone connects to Asterisk
</i>><i id="yui_3_16_0_ym19_1_1550782660531_166886"> from internet. We use Callcentric for VOIP trunk.
</i><br id="yui_3_16_0_ym19_1_1550782660531_166887">That's the point where you lost me.<br id="yui_3_16_0_ym19_1_1550782660531_166888"><br id="yui_3_16_0_ym19_1_1550782660531_166889">Callcentric is out on the Internet. How does it connect to your Asterisk <br id="yui_3_16_0_ym19_1_1550782660531_166890">server?<br id="yui_3_16_0_ym19_1_1550782660531_166891"><br id="yui_3_16_0_ym19_1_1550782660531_166892">><i id="yui_3_16_0_ym19_1_1550782660531_166893"> External callers get in via Callcentric.
</i><br id="yui_3_16_0_ym19_1_1550782660531_166894">Right...<br id="yui_3_16_0_ym19_1_1550782660531_166895"><br id="yui_3_16_0_ym19_1_1550782660531_166896">><i id="yui_3_16_0_ym19_1_1550782660531_166897"> 1. Outside caller calls us but can't hear us. I beleive they talked to their
</i>><i id="yui_3_16_0_ym19_1_1550782660531_166898"> phone provider and it works now?
</i><br id="yui_3_16_0_ym19_1_1550782660531_166899">It would be good to know what got changed to make that work.<br id="yui_3_16_0_ym19_1_1550782660531_166900"><br id="yui_3_16_0_ym19_1_1550782660531_166901">><i id="yui_3_16_0_ym19_1_1550782660531_166902"> 2. We have one caller where EVERY time they call - they can't hear us. They
</i>><i id="yui_3_16_0_ym19_1_1550782660531_166903"> just say "ok, call us back". We call back and it works :)
</i><br id="yui_3_16_0_ym19_1_1550782660531_166904">So, they connect in via Callcentric too? Just the same as Caller 1?<br id="yui_3_16_0_ym19_1_1550782660531_166905"><br id="yui_3_16_0_ym19_1_1550782660531_166906">><i id="yui_3_16_0_ym19_1_1550782660531_166907"> 3. We have one caller where when we call them - they cannot
</i>><i id="yui_3_16_0_ym19_1_1550782660531_166908"> hear us, but we can hear them. They called back - all works.
</i><br id="yui_3_16_0_ym19_1_1550782660531_166909">What is the difference between callers 1, 2 and 3, in terms of how they connect <br id="yui_3_16_0_ym19_1_1550782660531_166910">to your Asterisk server, or how you connect to them?<br id="yui_3_16_0_ym19_1_1550782660531_166911"><br id="yui_3_16_0_ym19_1_1550782660531_166912">><i id="yui_3_16_0_ym19_1_1550782660531_166913"> I feel like we need to trace SIP protocol. How do I do that? I may get on
</i>><i id="yui_3_16_0_ym19_1_1550782660531_166914"> of those callers to work with us on testing.
</i><br id="yui_3_16_0_ym19_1_1550782660531_166915">I would start with something like:<br id="yui_3_16_0_ym19_1_1550782660531_166916"><br id="yui_3_16_0_ym19_1_1550782660531_166917"># tshark -i any -f "port 5060" -w "sip.debug.pcap"<br id="yui_3_16_0_ym19_1_1550782660531_166918"><br id="yui_3_16_0_ym19_1_1550782660531_166919">and then afterwards look at the pcap file with tshark (tshark -r <br id="yui_3_16_0_ym19_1_1550782660531_166920">"sip.debug.pcap -V") or some SIP tool such as sngrep.<br id="yui_3_16_0_ym19_1_1550782660531_166921"><br id="yui_3_16_0_ym19_1_1550782660531_166922"><br id="yui_3_16_0_ym19_1_1550782660531_166923">Antony.<br id="yiv9509080811yui_3_16_0_ym19_1_1550782660531_157982" clear="none"><br clear="none"></div><div class="yiv9509080811yqt8979802150" id="yiv9509080811yqtfd75504"> </div><br><br> </div></body></html>