<div dir="ltr"><div>Hi Paul,<br><br></div>Thanks, we did try restarting Asterisk after the VPN was up but that didn't solve the issue either.<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 January 2014 02:55, Paul Belanger <span dir="ltr"><<a href="mailto:paul.belanger@polybeacon.com" target="_blank">paul.belanger@polybeacon.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Jan 21, 2014 at 10:47 AM, Paul Belanger<br>
<<a href="mailto:paul.belanger@polybeacon.com">paul.belanger@polybeacon.com</a>> wrote:<br>
> On Tue, Jan 21, 2014 at 12:40 AM, David Cunningham<br>
> <<a href="mailto:dcunningham@voisonics.com">dcunningham@voisonics.com</a>> wrote:<br>
>> Hi Paul,<br>
>><br>
>> Using ngrep/tcpdump shows the packet clearly going from the Kamailio server<br>
>> and arriving at the Asterisk server. This is why it's a mystery that<br>
>> Asterisk doesn't see the call coming in. We tried removing the firewall (so<br>
>> iptables -L shows no rules at all) but that didn't help unfortunately.<br>
>><br>
> You might think Kamailio is transmitting it to Asterisk, however<br>
> without looking at the actually routing tables on Kamailio you'll<br>
> never know if it actually made it to Asterisk.  Again, we need a pcap<br>
> trace on both Kamailio and Asterisk, plus what your routes look like<br>
> (route -n), for a call.  It will show us clearly what is happening.<br>
><br>
> This all sounds like a routing issue, so your network admins should be<br>
> able to help troubleshoot.<br>
><br>
</div>I finally re-read the complete thread.  When are you starting the VPN<br>
on your Asterisk server, before or after Asterisk has started? If<br>
after, and you are binding to 0.0.0.0, it is likely Asterisk is not<br>
actually bound to your tun0 interface.  So, for a test, explicitly<br>
have asterisk listen only on the tun0 interface, retry your call.<br>
<br>
Or setup your tunnel, then stop Asterisk and start it again, that<br>
should cause it to bind properly.<br>
<div class="im HOEnZb"><br>
<br>
--<br>
Paul Belanger | PolyBeacon, Inc.<br>
Jabber: <a href="mailto:paul.belanger@polybeacon.com">paul.belanger@polybeacon.com</a> | IRC: pabelanger (Freenode)<br>
Github: <a href="https://github.com/pabelanger" target="_blank">https://github.com/pabelanger</a> | Twitter: <a href="https://twitter.com/pabelanger" target="_blank">https://twitter.com/pabelanger</a><br>
<br>
</div><div class="HOEnZb"><div class="h5">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>David Cunningham, Voisonics<br><a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>USA: +1 213 221 1092<br>UK: +44 (0) 20 3298 1642<br>

Australia: +61 (0) 2 8063 9019<br>
</div>