On Tue, Jan 21, 2014 at 10:47 AM, Paul Belanger
<paul.belan...@polybeacon.com> wrote:
> On Tue, Jan 21, 2014 at 12:40 AM, David Cunningham
> <dcunning...@voisonics.com> wrote:
>> Hi Paul,
>>
>> Using ngrep/tcpdump shows the packet clearly going from the Kamailio server
>> and arriving at the Asterisk server. This is why it's a mystery that
>> Asterisk doesn't see the call coming in. We tried removing the firewall (so
>> iptables -L shows no rules at all) but that didn't help unfortunately.
>>
> You might think Kamailio is transmitting it to Asterisk, however
> without looking at the actually routing tables on Kamailio you'll
> never know if it actually made it to Asterisk.  Again, we need a pcap
> trace on both Kamailio and Asterisk, plus what your routes look like
> (route -n), for a call.  It will show us clearly what is happening.
>
> This all sounds like a routing issue, so your network admins should be
> able to help troubleshoot.
>
I finally re-read the complete thread.  When are you starting the VPN
on your Asterisk server, before or after Asterisk has started? If
after, and you are binding to 0.0.0.0, it is likely Asterisk is not
actually bound to your tun0 interface.  So, for a test, explicitly
have asterisk listen only on the tun0 interface, retry your call.

Or setup your tunnel, then stop Asterisk and start it again, that
should cause it to bind properly.


-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to