[asterisk-users] Asterisk not receiving call from VPN address

David Cunningham dcunningham at voisonics.com
Tue Jan 21 15:39:03 CST 2014


Hi Paul,

Thanks, we did try restarting Asterisk after the VPN was up but that didn't
solve the issue either.



On 22 January 2014 02:55, Paul Belanger <paul.belanger at polybeacon.com>wrote:

> On Tue, Jan 21, 2014 at 10:47 AM, Paul Belanger
> <paul.belanger at polybeacon.com> wrote:
> > On Tue, Jan 21, 2014 at 12:40 AM, David Cunningham
> > <dcunningham at 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.belanger at 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
>



-- 
David Cunningham, Voisonics
http://voisonics.com/
USA: +1 213 221 1092
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140122/5c17ac38/attachment.html>


More information about the asterisk-users mailing list