<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>On 4/20/17 2:37 PM, Kseniya Blashchuk wrote:<br>
    </p>
    <blockquote
cite="mid:CAMvGrGfJ+JAt2xoeCiRXAfOn1HfgMm8UzNz-sXNVY9FCNP1XFA@mail.gmail.com"
      type="cite">
      <div dir="ltr">If SIP goes to the same provider then yes. Still I
        would check a packet capture for better understanding. BTW, did
        you try iax debug? </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">чт, 20 апр. 2017 г. в 19:46, Carlos Chavez <<a
            moz-do-not-send="true" href="mailto:cursor@telecomab.mx">cursor@telecomab.mx</a>>:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <p>On 4/20/17 12:45 AM, Kseniya Blashchuk wrote:<br>
            </p>
            <blockquote type="cite">
              <p dir="ltr">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? <br>
                Maybe there were some static routes that disappeared
                when the adapter was unplugged...</p>
              <br>
              <div class="gmail_quote">
                <div dir="ltr">On Thu, Apr 20, 2017, 12:41 AM Antony
                  Stone <<a moz-do-not-send="true"
                    href="mailto:Antony.Stone@asterisk.open.source.it"
                    target="_blank">Antony.Stone@asterisk.open.source.it</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">On
                  Wednesday 19 April 2017 at 23:35:24, Carlos Chavez
                  wrote:<br>
                  <br>
                  > On 4/19/17 4:23 PM, Antony Stone wrote:<br>
                  > ><br>
                  > > You say the USB ethernet adapter got
                  unplugged and then reconnected...<br>
                  > ><br>
                  > > 1. What's the name of the network device for
                  this adapter?  Is it the<br>
                  > > same name as it previously had?<br>
                  > ><br>
                  > > 2. What does 'ifconfig' say the IP address
                  is for this adapter?<br>
                  > ><br>
                  > > 3. What do you have in
                  /etc/asterisk/iax.conf for 'bindaddr' and<br>
                  > > 'bindport'?<br>
                  > ><br>
                  > > 4. Do you have SIP connections on the same
                  network interface, and are<br>
                  > > those working as normal?<br>
                  > ><br>
                  > ><br>
                  > > Antony.<br>
                  ><br>
                  > 1- No changes to device names.  eth0 is the main
                  link to the network,<br>
                  > eth1 (also internal) goes to a SIP provider and
                  eth2 (the USB adapter)<br>
                  > goes to another SIP provider.  All IAX trunks use
                  eth0<br>
                  ><br>
                  > 2- ifconfig gives the proper IP and netmask for
                  all interfaces<br>
                  ><br>
                  > 3- We do not specify bindaddr or bindport in the
                  config file as the<br>
                  > default is to bind to 0.0.0.0<br>
                  ><br>
                  > 4- We had to make new SIP trunks to replace the
                  IAX2 trunks to all<br>
                  > servers.  The SIP trunk is working with no
                  problems.  Except for two SIP<br>
                  > links to PSTN all internal extensions use the
                  same network interface.<br>
                  <br>
                  Ugh :(<br>
                  <br>
                  Sorry, I have no more ideas, then.<br>
                  <br>
                  I hope someone else comes into this thread with a
                  helpful suggestion.<br>
                  <br>
                  <br>
                </blockquote>
              </div>
            </blockquote>
          </div>
          <div bgcolor="#FFFFFF" text="#000000">     If routing was the
            problem then the SIP trunk would not work.  Usually IAX2 is
            a little more forgiving about routing than SIP.</div>
          <div bgcolor="#FFFFFF" text="#000000"><br>
          </div>
        </blockquote>
      </div>
    </blockquote>
        The new SIP trunks are replacing the IAX2 trunks to our other
    Asterisk servers and use exactly the same network paths, that is why
    I know it is not a network infrastructure issue.  We did turn on IAX
    debug and we only se the server trying to poke the other servers but
    there is not response or any incoming traffic.<br>
    <pre class="moz-signature" cols="72">-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161</pre>
  </body>
</html>