[Vtigercrm-developers] PBXManager - Asterisk Connector Debugging

Richard Hills - Technologywise richard at tw.co.nz
Tue Oct 28 02:53:04 GMT 2014


Yes, the below output is from the cli.
Still having an issue but will battle this a while before posting more 
logs / asking for more help.

Thank you Alex.

On 28/10/14 15:33, Alex Martin wrote:
>
> Did you watch the output from the asterisk cli?
>
> Alex
>
> On Oct 27, 2014, at 10:29 PM, Richard Hills - Technologywise 
> <richard at tw.co.nz <mailto:richard at tw.co.nz>> wrote:
>
>     Indeed, this turned out to be something on our end.
>
>     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:
>
>>       == Extension Changed 412[ext-local] new state Ringing for
>>     Notify User 400
>>       == Extension Changed 412[ext-local] new state InUse for Notify
>>     User 400
>>       == Starting SIP/412-00000c03 at075711060 <tel:075711060>,412,1
>>     failed so falling back to exten 's'
>>       == Starting SIP/412-00000c03 at075711060 <tel:075711060>,s,1
>>     still failed so falling back to context 'default'
>>         -- Executing [s at default:1] Playback("SIP/412-00000c03",
>>     "vm-goodbye") in new stack
>>         -- 
>
>     extension 412 tries to call a number (not in the acm log above).
>     extension 412 phone does ring, however is greeted only by a
>     goodbye message.
>
>     On 28/10/14 14:41, Alex Martin wrote:
>>
>>     Do you have the vtiger ip in the manager.conf file for asterisk?
>>     Also reloaded asterisk to take effect.
>>
>>     It doesn't look like it's connecting.
>>
>>     Alex
>>
>>     On Oct 27, 2014, at 9:32 PM, Richard Hills - Technologywise
>>     <richard at tw.co.nz <mailto:richard at tw.co.nz>> wrote:
>>
>>         Hi guys
>>
>>         Unfortunately I am not having any more luck with the asterisk
>>         connector now that I have got the PBXManager configuration
>>         screen working.
>>
>>         From the connector log (logs/nohup.webapp.20141028
>>         <tel:20141028>-13:43.out):
>>>         Oct 28, 2014 1:57:54 PM
>>>         com.vtiger.apps.asterisk.webapp.helpers.b a
>>>         INFO: Outbound Call
>>>         Oct 28, 2014 1:57:54 PM
>>>         com.vtiger.apps.asterisk.webapp.helpers.b a
>>>         INFO: Asterisk Login Successfull
>>>         Oct 28, 2014 1:57:54 PM
>>>         com.vtiger.apps.asterisk.webapp.helpers.b a
>>>         INFO: Successfully Authenticated Vtiger Secret Key
>>>         849304 [qtp611437735 <tel:611437735>-14] INFO
>>>         org.asteriskjava.manager.internal.ManagerConnectionImpl -
>>>         Connecting to192.168.212 <tel:192168212>.6:5060
>>>         Oct 28, 2014 1:57:54 PM com.vtiger.apps.asterisk.webapp.c.b a
>>>         SEVERE: null
>>>         java.net.ConnectException: Connection refused
>>>                 at java.net.PlainSocketImpl.socketConnect(Native Method)
>>>                 at
>>>         java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
>>>                 at
>>>         java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
>>>                 at
>>>         java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>>>                 at
>>>         java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>>>                 at java.net.Socket.connect(Socket.java:589)
>>>                 at
>>>         org.asteriskjava.util.internal.SocketConnectionFacadeImpl.
>>>                 at
>>>         org.asteriskjava.manager.internal.ManagerConnectionImpl.createSocket(ManagerConnectionImpl.java:729)
>>>                 at
>>>         org.asteriskjava.manager.internal.ManagerConnectionImpl.connect(ManagerConnectionImpl.java:708)
>>>                 at
>>>         org.asteriskjava.manager.internal.ManagerConnectionImpl.doLogin(ManagerConnectionImpl.java:490)
>>>                 at
>>>         org.asteriskjava.manager.internal.ManagerConnectionImpl.login(ManagerConnectionImpl.java:438)
>>>                 at
>>>         org.asteriskjava.manager.internal.ManagerConnectionImpl.login(ManagerConnectionImpl.java:423)
>>>                 at
>>>         org.asteriskjava.manager.DefaultManagerConnection.login(DefaultManagerConnection.java:294)
>>>                 at com.vtiger.apps.asterisk.webapp.a.a.a(Unknown Source)
>>>                 at com.vtiger.apps.asterisk.webapp.c.b.a(Unknown Source)
>>>                 at
>>>         com.vtiger.apps.asterisk.webapp.c.b.doPost(Unknown Source)
>>>                 at
>>>         javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>                 at
>>>         javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
>>>                 at
>>>         org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
>>>                 at
>>>         org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
>>>                 at
>>>         org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
>>>                 at
>>>         org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
>>>                 at
>>>         org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
>>>                 at
>>>         org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
>>>                 at
>>>         org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
>>>                 at
>>>         org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>>>                 at
>>>         org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
>>>                 at
>>>         org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>>>                 at
>>>         org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
>>>                 at
>>>         org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>>>                 at
>>>         org.eclipse.jetty.server.Server.handle(Server.java:370)
>>>                 at
>>>         org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
>>>                 at
>>>         org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
>>>                 at
>>>         org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
>>>                 at
>>>         org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
>>>                 at
>>>         org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>>>                 at
>>>         org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>>>                 at
>>>         org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
>>>                 at
>>>         org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
>>>                 at
>>>         org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>>>                 at
>>>         org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>>>                 at java.lang.Thread.run(Thread.java:745)
>>>
>>>
>>
>>         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.
>>
>>         Couple of notes:
>>
>>           * IP is correct
>>           * Port is correct
>>           * asterisk 1.8.20.0
>>           * java version 1.8.0_20
>>
>>
>>         TIA
>>
>>         -- 
>>
>>         Richard Hills
>>         TechnologyWise Ltd, Tauranga, NZ
>>         richard at tw.co.nz
>>         www.technologywise.co.nz
>>         ph: +64 (0)7 571 1060
>>         fax: +64 (0)7 571 1061
>>
>>         Basestation
>>
>>         ------------------------------------------------------------------------
>>
>>         http://www.vtiger.com/
>>
>>
>>
>>     _______________________________________________
>>     http://www.vtiger.com/
>
>     -- 
>
>     Richard Hills
>     TechnologyWise Ltd, Tauranga, NZ
>     richard at tw.co.nz
>     www.technologywise.co.nz
>     ph: +64 (0)7 571 1060
>     fax: +64 (0)7 571 1061
>
>     Basestation
>
>     ------------------------------------------------------------------------
>
>     http://www.vtiger.com/
>
>
>
> _______________________________________________
> http://www.vtiger.com/

-- 

Richard Hills
TechnologyWise Ltd, Tauranga, NZ
richard at tw.co.nz
www.technologywise.co.nz
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061

Basestation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141028/7a7b4553/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: basestation.png
Type: image/png
Size: 13137 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141028/7a7b4553/attachment-0001.png>


More information about the vtigercrm-developers mailing list