[Vtigercrm-developers] Asterisk Connector & Asterisk 11
vtiger at camden.net
vtiger at camden.net
Sat Aug 2 23:52:58 GMT 2014
here is info you asked for
could you elaborate on "tell him that there is some issue for making calls
to regular numbers like mobile, landline and fix for this will be given
shortly" we tried entering another extension click to call resulted in same
behavior (CRM EXT calls CRM EXT)
still see no data stream on agi.sh for inbound notifications, we see its
listening on port 4573, but no data is passed to it
VtigerAsteriskConnector.properties:
/* * Copyright (C) www.vtiger.com. All rights reserved. * @license
Proprietary */
// Location where the application server will be running.ServerIP =
0.0.0.0ServerPort = 8383StorageDir = /var/www/html/vtiger/asterisk
//Location where the applications database files will be
stored.AsteriskAppDBPath = /tmp
// Asterisk Server DetailsAsteriskServerIP =
198.140.118.187AsteriskServerPort = 5038AsteriskUsername =
vtigerAsteriskPassword = 1q2w3e4
// Vtiger CRM URLVtigerURL = http://localhost:8008/vtigerVtigerSecretKey =
58654186453d748926d927
nohup.webapp.20140729-03:11.out (350MB log created within minutes)
1.2 million lines of this:
26183162 [Asterisk-Java ManagerConnection-0-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinenum' to '0' on org.asteriskjava.manager.event.NewStateEvent:
no setter. Please report athttp://jira.reucon.org/browse/AJ26183162
[Asterisk-Java ManagerConnection-0-Reader-0] INFO
org.asteriskjava.manager.internal.EventBuilderImpl - No event class
registered for event type 'hanguprequest', attributes:
{uniqueid=1406644080.15284, event=HangupRequest, privilege=call,all,
channel=Local/s at tc-maint-00001dc5;2}. Please report at
http://jira.reucon.org/browse/AJ26183163 [Asterisk-Java
ManagerConnection-0-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinename' to '0' on org.asteriskjava.manager.event.HangupEvent:
no setter. Please report athttp://jira.reucon.org/browse/AJ26183163
[Asterisk-Java ManagerConnection-0-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinenum' to '0' on org.asteriskjava.manager.event.HangupEvent: no
setter. Please report athttp://jira.reucon.org/browse/AJ26183163
[Asterisk-Java ManagerConnection-3-Reader-0] INFO
org.asteriskjava.manager.internal.EventBuilderImpl - No event class
registered for event type 'hanguprequest', attributes:
{uniqueid=1406644080.15284, event=HangupRequest, privilege=call,all,
channel=Local/s at tc-maint-00001dc5;2}. Please report at
http://jira.reucon.org/browse/AJ26183163 [Asterisk-Java
ManagerConnection-3-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinename' to '0' on org.asteriskjava.manager.event.HangupEvent:
no setter. Please report athttp://jira.reucon.org/browse/AJ26183163
[Asterisk-Java ManagerConnection-3-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinenum' to '0' on org.asteriskjava.manager.event.HangupEvent: no
setter. Please report athttp://jira.reucon.org/browse/AJ26183163
[Asterisk-Java ManagerConnection-3-Reader-0] INFO
org.asteriskjava.manager.internal.EventBuilderImpl - No event class
registered for event type 'softhanguprequest', attributes: {cause=16,
uniqueid=1406644080.15284, event=SoftHangupRequest, privilege=call,all,
channel=Local/s at tc-maint-00001dc5;2}. Please report at
http://jira.reucon.org/browse/AJ26183165 [Asterisk-Java
ManagerConnection-2-Reader-0] INFO
org.asteriskjava.manager.internal.EventBuilderImpl - No event class
registered for event type 'softhanguprequest', attributes: {cause=16,
uniqueid=1406644080.15284, event=SoftHangupRequest, privilege=call,all,
channel=Local/s at tc-maint-00001dc5;2}. Please report at
http://jira.reucon.org/browse/AJ26183165 [Asterisk-Java
ManagerConnection-2-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinename' to '0' on org.asteriskjava.manager.event.HangupEvent:
no setter. Please report athttp://jira.reucon.org/browse/AJ26183165
[Asterisk-Java ManagerConnection-2-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinenum' to '0' on org.asteriskjava.manager.event.HangupEvent: no
setter. Please report athttp://jira.reucon.org/browse/AJ26183165
[Asterisk-Java ManagerConnection-3-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinename' to '0' on org.asteriskjava.manager.event.HangupEvent:
no setter. Please report athttp://jira.reucon.org/browse/AJ26183165
[Asterisk-Java ManagerConnection-3-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinenum' to '0' on org.asteriskjava.manager.event.HangupEvent: no
setter. Please report athttp://jira.reucon.org/browse/AJ26183165
[Asterisk-Java ManagerConnection-1-Reader-0] INFO
org.asteriskjava.manager.internal.EventBuilderImpl - No event class
registered for event type 'softhanguprequest', attributes: {cause=16,
uniqueid=1406644080.15284, event=SoftHangupRequest, privilege=call,all,
channel=Local/s at tc-maint-00001dc5;2}. Please report at
http://jira.reucon.org/browse/AJ26183165 [Asterisk-Java
ManagerConnection-1-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinename' to '0' on org.asteriskjava.manager.event.HangupEvent:
no setter. Please report athttp://jira.reucon.org/browse/AJ26183165
[Asterisk-Java ManagerConnection-1-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinenum' to '0' on org.asteriskjava.manager.event.HangupEvent: no
setter. Please report athttp://jira.reucon.org/browse/AJ26183166
[Asterisk-Java ManagerConnection-0-Reader-0] INFO
org.asteriskjava.manager.internal.EventBuilderImpl - No event class
registered for event type 'softhanguprequest', attributes: {cause=16,
uniqueid=1406644080.15284, event=SoftHangupRequest, privilege=call,all,
channel=Local/s at tc-maint-00001dc5;2}. Please report at
http://jira.reucon.org/browse/AJ26183166 [Asterisk-Java
ManagerConnection-0-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinename' to '0' on org.asteriskjava.manager.event.HangupEvent:
no setter. Please report athttp://jira.reucon.org/browse/AJ26183166
[Asterisk-Java ManagerConnection-0-Reader-0] WARN
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property
'connectedlinenum' to '0' on org.asteriskjava.manager.event.HangupEvent: no
setter. Please report athttp://jira.reucon.org/browse/AJ
nohup.webapp.20140802-17:26.out
418 [main] INFO org.eclipse.jetty.server.Server -
jetty-8.1.14.v201310311090 [main] INFO
org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP Support for
/, did not find org.apache.jasper.servlet.JspServlet1336 [main] INFO
org.eclipse.jetty.server.AbstractConnector - Started
SelectChannelConnector at 0.0.0.0:8383Aug 02, 2014 5:38:39 PM
com.vtiger.apps.asterisk.webapp.helpers.b aINFO: Outbound CallAug 02, 2014
5:38:39 PM com.vtiger.apps.asterisk.webapp.helpers.b aINFO: Asterisk Login
SuccessfullAug 02, 2014 5:38:39 PM
com.vtiger.apps.asterisk.webapp.helpers.b aINFO: Successfully Authenticated
Vtiger Secret Key756004 [qtp103996533-15] INFO
org.asteriskjava.manager.internal.ManagerConnectionImpl - Connecting
to198.140.118.187:5038756176 [Asterisk-Java ManagerConnection-0-Reader-0]
INFO org.asteriskjava.manager.internal.ManagerConnectionImpl - Connected
via Asterisk Call Manager/1.3756176 [Asterisk-Java
ManagerConnection-0-Reader-0] WARN
org.asteriskjava.manager.internal.ManagerConnectionImpl - Unsupported
protocol version 'Asterisk Call Manager/1.3'. Use at your own risk.757208
[Asterisk-Java ManagerConnection-0-Reader-0] INFO
org.asteriskjava.manager.internal.ManagerReaderImpl - Terminating reader
thread: No more lines available: null757208 [qtp103996533-15] INFO
org.asteriskjava.manager.internal.ManagerConnectionImpl - Closing
socket.Aug 02, 2014 5:38:40 PM com.vtiger.apps.asterisk.webapp.c.b aSEVERE:
nullorg.asteriskjava.manager.AuthenticationFailedException: Authentication
failed at
org.asteriskjava.manager.internal.ManagerConnectionImpl.doLogin(ManagerConne
ctionImpl.java:578) at
org.asteriskjava.manager.internal.ManagerConnectionImpl.login(ManagerConnect
ionImpl.java:438) at
org.asteriskjava.manager.internal.ManagerConnectionImpl.login(ManagerConnect
ionImpl.java:423) at
org.asteriskjava.manager.DefaultManagerConnection.login(DefaultManagerConnec
tion.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:1
16) at org.eclipse.jetty.server.Server.handle(Server.java:370)
at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpCo
nnection.java:494) at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpC
onnection.java:971) at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplet
e(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.j
ava:52) at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:
608) at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:5
43) at java.lang.Thread.run(Thread.java:745)
Aug 02, 2014 5:38:44 PM com.vtiger.apps.asterisk.webapp.helpers.b aINFO:
Outbound CallAug 02, 2014 5:38:44 PM
com.vtiger.apps.asterisk.webapp.helpers.b aINFO: Asterisk Login
SuccessfullAug 02, 2014 5:38:44 PM
com.vtiger.apps.asterisk.webapp.helpers.b aINFO: Successfully Authenticated
Vtiger Secret Key760663 [qtp103996533-12] INFO
org.asteriskjava.manager.internal.ManagerConnectionImpl - Connecting
to198.140.118.187:5038760685 [Asterisk-Java ManagerConnection-1-Reader-0]
INFO org.asteriskjava.manager.internal.ManagerConnectionImpl - Connected
via Asterisk Call Manager/1.3
manager.conf
[vtiger]secret =
1q2w3e4deny=0.0.0.0/0.0.0.0permit=127.0.0.1/255.255.255.0permit=198.140.116.
0/255.255.255.0permit=10.128.0.0/255.128.0.0read =
system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr
,dialplan,originatewrite =
system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr
,dialplan,originatewritetimeout = 5000
extensions_custom.conf
[vtiger]exten => _X.,1,Agi(agi://0.0.0.0/incoming.agi)
----------------------------------------
From: "Rishab K" <rishab.k at vtiger.com>
Sent: Saturday, August 02, 2014 9:27 AM
To: vtiger at camden.net, vtigercrm-developers at lists.vtigercrm.com,
support at zebrahosting.eu
Subject: Re: [Vtigercrm-developers] Asterisk Connector & Asterisk 11
I have attached the snapshots of the configuration that is done in
Asterisk, Vtiger Connector in
VtigerAsteriskConnector/conf/VtigerAsteriskConnector.properties/etc/asterisk
/manager.conf
/etc/asterisk/extensions.conf
On Sat, Aug 2, 2014 at 6:37 PM, Akshath T.A <akshath.t at vtiger.com> wrote:
Rishab,
I have attached the snapshots of the configuration that is done in
Asterisk, Vtiger Connector and FreePBX. Please inform customer about this
and tell him that there is some issue for making calls to regular numbers
like mobile, landline and fix for this will be given shortly.
( please confirm with uma when will this changes be given ?)
On Sat, Aug 2, 2014 at 5:33 PM, Rishab K <rishab.k at vtiger.com> wrote:
On Sat, Aug 2, 2014 at 5:25 PM, Zebra Hosting <support at zebrahosting.eu>
wrote:
Could you please post your setups/snapshots and possible solutions also
here (without the PW of course)
I am still struggling with the exact same setup and did not even get it
working as far as you did.
Bastiaan Houtkooper
Zebra Hosting
On 2 aug. 2014, at 07:31, Rishab K <rishab.k at vtiger.com> wrote:
Hi,
Can we have the following information,so that we can track down the issue
you are facing:
1. Vtiger Connector log files .
2. VtigerAsteriskConnector.properties file snapshot.
3. Asterisk manager.conf snapshot.
4. Asterisk extension.conf snapshot.
Along with this can we have access to your Asterisk Server.
On Sat, Aug 2, 2014 at 1:44 AM,
vtiger at camden.net <vtiger at camden.net> wrote:
hello, thanks in advance for your help, is the Asterisk Connector for 6.1
compatible with Asterisk 11
I have
PhP 5.4
Asterisk 11
AMI 1.3
FreePBX 2.11
Vtiger 6.1
when I click to call out of Vtiger my extension rings, when I pick up it
tries to connect the call to its self (am am sent to my own busy VM, rather
than number clicked on)
when I watch data from webapp.sh its says
unsupported Asterisk Call Manager/1.3 use at own risk
No event class registered for event type 'fullybooted'
Successfully logged in
Determined Asterisk version: Asterisk 1.6
Sending call originate request to asterisk
Context:from-internal
From: 101 -> To: XXXXXXXXXX //where XXXXXXXXXX = the number clicked in
vtiger
Outgoing Call Response: Success
Asterisk Response: Originate successfully queued
then I get a lot of
Unable to set property 'connectedlinenum'
I have Activa for Asterisk install and click to call from outlook works
fine, so I know its not a calling commands from the AMI that is a
probelm... yes I have shut this down to make sure it was not interfering
with the vtiger connector
I get absolutely nothing in vtiger on a inbound attempt, no pop-up, I dont
see any data viewing the webapp.sh
I have seen in post the connector is for 1.8, but also seen it should work
with 11, no info on what AMI version
any help would be appreciated
_______________________________________________
http://www.vtiger.com/
_______________________________________________
http://www.vtiger.com/
_______________________________________________
http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140802/d9d06c51/attachment-0001.html>
More information about the vtigercrm-developers
mailing list