<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Indeed, this turned out to be something on our end.<br>
    <br>
    We now however have an issue where the outgoing call is failing. I
    will continue to look at this, but if anyone can tell me what is
    going on feel free. Here is the ACM log:<br>
    <br>
    <blockquote type="cite">  == Extension Changed 412[ext-local] new
      state Ringing for Notify User 400 <br>
        == Extension Changed 412[ext-local] new state InUse for Notify
      User 400 <br>
        == Starting SIP/412-00000c03 at 075711060,412,1 failed so
      falling back to exten 's'<br>
        == Starting SIP/412-00000c03 at 075711060,s,1 still failed so
      falling back to context 'default'<br>
          -- Executing [s@default:1] Playback("SIP/412-00000c03",
      "vm-goodbye") in new stack<br>
          -- <SIP/412-00000c03> Playing 'vm-goodbye.gsm' (language
      'en')<br>
    </blockquote>
    <br>
    extension 412 tries to call a number (not in the acm log above).<br>
    extension 412 phone does ring, however is greeted only by a goodbye
    message.<br>
    <br>
    <div class="moz-cite-prefix">On 28/10/14 14:41, Alex Martin wrote:<br>
    </div>
    <blockquote
      cite="mid:657d7aae-9be8-4821-a991-1896b88bd548@email.bluemailapp.com"
      type="cite">
      <p dir="ltr">Do you have the vtiger ip in the manager.conf file
        for asterisk? Also reloaded asterisk to take effect. </p>
      <p dir="ltr">It doesn't look like it's connecting. </p>
      <p dir="ltr">Alex<br>
        <br>
      </p>
      <style type="text/css"> pre.blue {white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px} div, p { -ms-word-break: break-all; word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto;hyphens: auto;} a {color: #226EF9 ;}</style>
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <div class="gmail_quote">On Oct 27, 2014, at 9:32 PM, Richard
        Hills - Technologywise <<a moz-do-not-send="true"
          href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>>
        wrote:
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;"> Hi guys<br>
          <br>
          Unfortunately I am not having any more luck with the asterisk
          connector now that I have got the PBXManager configuration
          screen working.<br>
          <br>
          <span> From the connector log (logs/nohup.webapp<a
              moz-do-not-send="true" href="tel:20141028">.20141028</a>-13:43.out):</span><br>
          <blockquote type="cite">Oct 28, 2014 1:57:54 PM
            com.vtiger.apps.asterisk.webapp.helpers.b a<br>
            INFO: Outbound Call<br>
            Oct 28, 2014 1:57:54 PM
            com.vtiger.apps.asterisk.webapp.helpers.b a<br>
            INFO: Asterisk Login Successfull<br>
            Oct 28, 2014 1:57:54 PM
            com.vtiger.apps.asterisk.webapp.helpers.b a<br>
            INFO: Successfully Authenticated Vtiger Secret Key<br>
            <span> 849304 [qtp<a moz-do-not-send="true"
                href="tel:611437735">611437735</a>-14] INFO
              org.asteriskjava.manager.internal.ManagerConnectionImpl -
              Connecting to<a moz-do-not-send="true"
                href="tel:192168212"> 192.168.212</a>.6:5060</span><br>
            Oct 28, 2014 1:57:54 PM com.vtiger.apps.asterisk.webapp.c.b
            a<br>
            SEVERE: null<br>
            java.net.ConnectException: Connection refused<br>
                    at java.net.PlainSocketImpl.socketConnect(Native
            Method)<br>
                    at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)<br>
                    at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)<br>
                    at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)<br>
                    at
            java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)<br>
                    at java.net.Socket.connect(Socket.java:589)<br>
                    at
            org.asteriskjava.util.internal.SocketConnectionFacadeImpl.<init>(socketconnectionfacadeimpl.java:77)<br>
                      at
org.asteriskjava.manager.internal.ManagerConnectionImpl.createSocket(ManagerConnectionImpl.java:729)<br>
                      at
org.asteriskjava.manager.internal.ManagerConnectionImpl.connect(ManagerConnectionImpl.java:708)<br>
                      at
org.asteriskjava.manager.internal.ManagerConnectionImpl.doLogin(ManagerConnectionImpl.java:490)<br>
                      at
org.asteriskjava.manager.internal.ManagerConnectionImpl.login(ManagerConnectionImpl.java:438)<br>
                      at
org.asteriskjava.manager.internal.ManagerConnectionImpl.login(ManagerConnectionImpl.java:423)<br>
                      at
org.asteriskjava.manager.DefaultManagerConnection.login(DefaultManagerConnection.java:294)<br>
                      at com.vtiger.apps.asterisk.webapp.a.a.a(Unknown
              Source)<br>
                      at com.vtiger.apps.asterisk.webapp.c.b.a(Unknown
              Source)<br>
                      at
              com.vtiger.apps.asterisk.webapp.c.b.doPost(Unknown Source)<br>
                      at
              javax.servlet.http.HttpServlet.service(HttpServlet.java:688)<br>
                      at
              javax.servlet.http.HttpServlet.service(HttpServlet.java:770)<br>
                      at
              org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)<br>
                      at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)<br>
                      at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)<br>
                      at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)<br>
                      at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)<br>
                      at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)<br>
                      at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)<br>
                      at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)<br>
                      at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)<br>
                      at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)<br>
                      at
              org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)<br>
                      at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)<br>
                      at
              org.eclipse.jetty.server.Server.handle(Server.java:370)<br>
                      at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)<br>
                      at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)<br>
                      at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)<br>
                      at
              org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)<br>
                      at
              org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)<br>
                      at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)<br>
                      at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)<br>
                      at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)<br>
                      at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)<br>
                      at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)<br>
                      at java.lang.Thread.run(Thread.java:745)<br>
              <br>
            </init>(socketconnectionfacadeimpl.java:77)<br></blockquote>
          <br>
          Any hints as to how to debug this issue would be great. ie. If
          there is another way to try to connect to the same area that
          the connector tries to.<br>
          <br>
          Couple of notes:<br>
          <ul>
            <li>IP is correct</li>
            <li>Port is correct</li>
            <li>asterisk 1.8.20.0</li>
            <li>java version 1.8.0_20<br>
            </li>
          </ul>
          <br>
          TIA<br>
          <br>
          <div class="moz-signature">-- <br>
            <p>Richard Hills<br>
              TechnologyWise Ltd, Tauranga, NZ<br>
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="http://www.technologywise.co.nz">www.technologywise.co.nz</a><br>
              ph: +64 (0)7 571 1060<br>
              fax: +64 (0)7 571 1061</p>
            <img moz-do-not-send="true"
              src="cid:part1.06050208.01090701@tw.co.nz"
              alt="Basestation"> </div>
          <pre class="blue"><hr>
<a moz-do-not-send="true" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <p>Richard Hills<br>
        TechnologyWise Ltd, Tauranga, NZ<br>
        <a class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
        <a class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a><br>
        ph: +64 (0)7 571 1060<br>
        fax: +64 (0)7 571 1061</p>
      <img src="cid:part9.04060705.04020700@tw.co.nz" alt="Basestation">
    </div>
  </body>
</html>