[asterisk-users] IAX2 getting stuck

Kseniya Blashchuk
2017-04-20T05:45:13Z

Can it happen that the routes lead the traffic through another interface?
Did you try a packet capture with tcpdump? Do the packets really leave the
usb adapter? Can asymmetric routing be in effect?
Maybe there were some static routes that disappeared when the adapter was
unplugged...

On Thu, Apr 20, 2017, 12:41 AM Antony Stone <
Antony.Stone at asterisk.open.source.it> wrote:

> On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote:
>
> > On 4/19/17 4:23 PM, Antony Stone wrote:
> > >
> > > You say the USB ethernet adapter got unplugged and then
reconnected...
> > >
> > > 1. What's the name of the network device for this adapter?
Is it the
> > > same name as it previously had?
> > >
> > > 2. What does 'ifconfig' say the IP address is for this
adapter?
> > >
> > > 3. What do you have in /etc/asterisk/iax.conf for
'bindaddr' and
> > > 'bindport'?
> > >
> > > 4. Do you have SIP connections on the same network interface, and
are
> > > those working as normal?
> > >
> > >
> > > Antony.
> >
> > 1- No changes to device names.  eth0 is the main link to the network,
> > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter)
> > goes to another SIP provider.  All IAX trunks use eth0
> >
> > 2- ifconfig gives the proper IP and netmask for all interfaces
> >
> > 3- We do not specify bindaddr or bindport in the config file as the
> > default is to bind to 0.0.0.0
> >
> > 4- We had to make new SIP trunks to replace the IAX2 trunks to all
> > servers.  The SIP trunk is working with no problems.  Except for two
SIP
> > links to PSTN all internal extensions use the same network interface.
>
> Ugh :(
>
> Sorry, I have no more ideas, then.
>
> I hope someone else comes into this thread with a helpful suggestion.
>
>
> Antony.
>
> --
> The first fifty percent of an engineering project takes ninety percent of
> the
> time, and the remaining fifty percent takes another ninety percent of the
> time.
>
>                                                    Please reply to the
> list;
>                                                          please *don't*
CC
> me.
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20170420/d9d47c8d/attachment.html>