[Vtigercrm-developers] Vtiger Astersik Connector

mahoutchian a.mahoutchian at setuda.ir
Mon Oct 12 18:29:45 GMT 2015


problem is :

in outgoing call ( click to call)
my extention ringing and show a have a call from clicked number , but after
pick up my phone  system dial myself(my extention) again , not my clicked
number !!!!

after running sh start.sh ...

report file 1
in vtigerasteriskconnector log folder :

2015-10-13 03:43:45 [main] INFO  org.asteriskjava.fastagi.DefaultAgiServer 
- Listening on *:4573.

report file 2
in vtigerasteriskconnector log folder :
2015-10-13 04:29:03 [main] INFO  org.eclipse.jetty.server.Server  -
jetty-8.1.14.v20131031
2015-10-13 04:29:03 [main] INFO 
org.eclipse.jetty.webapp.StandardDescriptorProcessor  - NO JSP Support for
/, did not find org.apache.jasper.servlet.JspServlet
2015-10-13 04:29:03 [main] INFO  org.eclipse.jetty.server.AbstractConnector 
- Started SelectChannelConnector at 0.0.0.0:8380
2015-10-13 04:34:28 [qtp8619379-17] INFO  a  - Outbound Call
2015-10-13 04:34:28 [qtp8619379-17] INFO  a  - Asterisk Login Successfull
2015-10-13 04:34:28 [qtp8619379-17] INFO  a  - Successfully Authenticated
Vtiger Secret Key
2015-10-13 04:34:28 [qtp8619379-17] INFO 
org.asteriskjava.manager.internal.ManagerConnectionImpl  - Connecting to
127.0.0.1:5038
2015-10-13 04:34:28 [Asterisk-Java ManagerConnection-0-Reader-0] INFO 
org.asteriskjava.manager.internal.ManagerConnectionImpl  - Connected via
Asterisk Call Manager/1.3
2015-10-13 04:34:28 [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.
2015-10-13 04:34:28 [qtp8619379-17] INFO 
org.asteriskjava.manager.internal.ManagerConnectionImpl  - Successfully
logged in
2015-10-13 04:34:28 [Asterisk-Java ManagerConnection-0-Reader-0] INFO 
org.asteriskjava.manager.internal.EventBuilderImpl  - No event class
registered for event type 'fullybooted', attributes: {status=Fully Booted,
event=FullyBooted, privilege=system,all}. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:30 [qtp8619379-17] INFO 
org.asteriskjava.manager.internal.ManagerConnectionImpl  - Determined
Asterisk version: Asterisk 1.6
2015-10-13 04:34:30 [qtp8619379-17] INFO  a  - Sending call originate
request to asterisk
2015-10-13 04:34:36 [qtp8619379-17] INFO  a  - Context:from-internal
2015-10-13 04:34:36 [qtp8619379-17] INFO  a  - From: 2186 -> To: 02166751688
2015-10-13 04:34:36 [qtp8619379-17] INFO  a  - Outgoing Call Response:
Success
2015-10-13 04:34:36 [qtp8619379-17] INFO  a  - Asterisk Response: Originate
successfully queued
2015-10-13 04:34:36 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinenum' to '02166751688' on
org.asteriskjava.manager.event.NewStateEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:36 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinenum' to '02166751688' on
org.asteriskjava.manager.event.NewStateEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:36 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinename' to '<unknown>' on
org.asteriskjava.manager.event.DialEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:36 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinenum' to '02166751688' on
org.asteriskjava.manager.event.DialEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:36 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinename' to 'SETUDA Technical' on
org.asteriskjava.manager.event.NewStateEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:36 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinenum' to '02166751688' on
org.asteriskjava.manager.event.NewStateEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:41 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinename' to 'SETUDA Technical' on
org.asteriskjava.manager.event.NewStateEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:41 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinenum' to '02166751688' on
org.asteriskjava.manager.event.NewStateEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:41 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'class' to 'default' on org.asteriskjava.manager.event.MusicOnHoldEvent: no
setter. Please report at http://jira.reucon.org/browse/AJ
2015-10-13 04:34:44 [Asterisk-Java ManagerConnection-0-Reader-0] INFO 
org.asteriskjava.manager.internal.EventBuilderImpl  - No event class
registered for event type 'hanguprequest', attributes:
{uniqueid=1444698276.1353, event=HangupRequest, privilege=call,all,
channel=SIP/2186-00000316}. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:45 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinename' to 'SETUDA Technical' on
org.asteriskjava.manager.event.HangupEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:45 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinenum' to '02166751688' on
org.asteriskjava.manager.event.HangupEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:45 [Asterisk-Java ManagerConnection-0-Reader-0] INFO 
org.asteriskjava.manager.internal.EventBuilderImpl  - No event class
registered for event type 'softhanguprequest', attributes: {cause=16,
uniqueid=1444698270.1352, event=SoftHangupRequest, privilege=call,all,
channel=SIP/2186-00000315}. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:45 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinename' to 'SETUDA Technical' on
org.asteriskjava.manager.event.HangupEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
2015-10-13 04:34:45 [Asterisk-Java ManagerConnection-0-Reader-0] WARN 
org.asteriskjava.manager.internal.EventBuilderImpl  - Unable to set property
'connectedlinenum' to '2186' on org.asteriskjava.manager.event.HangupEvent:
no setter. Please report at http://jira.reucon.org/browse/AJ


web site at this address : ip:8380 {ok}

Directory: /

agi.sh 	339 bytes 	Feb 10, 2015 6:48:15 PM
start.sh 	228 bytes 	Feb 10, 2015 6:48:15 PM
stop.sh 	115 bytes 	Feb 10, 2015 6:48:15 PM
webapp.sh 	377 bytes 	Feb 10, 2015 6:48:15 PM

manager.conf file is :

[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+

[admin]
secret = PVoip1394
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read =
system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
write =
system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
writetimeout = 5000

#include manager_additional.conf
#include manager_custom.conf

cdr.conf is :

[general]

; Define whether or not to use CDR logging.  Setting this to "no" will
override
; any loading of backend CDR modules.  Default is "yes".
enable=yes

cdr_manager.conf is :

;
; Asterisk Call Management CDR
;
[general]
enabled = yes

extentions_custom.conf is :

[from-internal-custom]				

exten => _XXXX.,1,Agi(agi://0.0.0.0/incoming.agi) { for outgoing with more
than 5 digits }

[from-pstn-custom]
exten => _XXXX.,1,Agi(agi://0.0.0.0/incoming.agi) { for incoming with more
than 5 digits }

Vtiger setting is :

Vtiger Asterisk App URL	http://192.168.33.10:8380
Outbound Context	from-internal
Outbound Trunk	OUTVTIGER
Vtiger Secret Key	146676517655cbc57b8e861






--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-Vtiger-Astersik-Connector-tp17624p17635.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.


More information about the vtigercrm-developers mailing list