[Vtigercrm-developers] Vtiger + Asterisk Incoming Popup problem.
Michele Mastropieri
michele.mastropieri at gmail.com
Tue Sep 29 13:37:14 GMT 2015
in AgiError.log I have these lines:
[WARN] 2015-09-29 15:33:36
org.asteriskjava.manager.internal.ManagerConnectionImpl warn Unsupported
protocol version 'Asterisk Call Manager/1.3'. Use at your own risk.
[WARN] 2015-09-29 15:33:39
org.asteriskjava.manager.internal.EventBuilderImpl warn Unable to set
property 'connectedlinename' to '<unknown>' on
org.asteriskjava.manager.event.StatusEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
[WARN] 2015-09-29 15:33:39
org.asteriskjava.manager.internal.EventBuilderImpl warn Unable to set
property 'connectedlinenum' to '<unknown>' on
org.asteriskjava.manager.event.StatusEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
in AgiInfo.log:
[INFO] 2015-09-29 15:33:36 a log Asterisk Login Successfull
[INFO] 2015-09-29 15:33:36
org.asteriskjava.manager.internal.ManagerConnectionImpl info Connecting to
127.0.0.1:5038
[INFO] 2015-09-29 15:33:36
org.asteriskjava.manager.internal.ManagerConnectionImpl info Connected via
Asterisk Call Manager/1.3
[WARN] 2015-09-29 15:33:36
org.asteriskjava.manager.internal.ManagerConnectionImpl warn Unsupported
protocol version 'Asterisk Call Manager/1.3'. Use at your own risk.
[INFO] 2015-09-29 15:33:36
org.asteriskjava.manager.internal.ManagerConnectionImpl info Successfully
logged in
[INFO] 2015-09-29 15:33:36
org.asteriskjava.manager.internal.EventBuilderImpl info 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
[INFO] 2015-09-29 15:33:38
org.asteriskjava.manager.internal.ManagerConnectionImpl info Determined
Asterisk version: Asterisk 1.6
[INFO] 2015-09-29 15:33:38 a log
org.asteriskjava.manager.event.ConnectEvent[dateReceived='Tue Sep 29
15:33:38 CEST
2015',timestamp=null,sequencenumber=null,server=null,protocolidentifier='Asterisk
Call Manager/1.3',systemHashcode=975620879]
[INFO] 2015-09-29 15:33:38 b log Sending HTTP request to webapp
[WARN] 2015-09-29 15:33:39
org.asteriskjava.manager.internal.EventBuilderImpl warn Unable to set
property 'connectedlinename' to '<unknown>' on
org.asteriskjava.manager.event.StatusEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
[WARN] 2015-09-29 15:33:39
org.asteriskjava.manager.internal.EventBuilderImpl warn Unable to set
property 'connectedlinenum' to '<unknown>' on
org.asteriskjava.manager.event.StatusEvent: no setter. Please report at
http://jira.reucon.org/browse/AJ
[INFO] 2015-09-29 15:33:39 IncomingCall log Started Manager Event
[INFO] 2015-09-29 15:33:39 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:39 a log
org.asteriskjava.manager.event.StatusEvent[dateReceived='Tue Sep 29
15:33:39 CEST
2015',privilege='Call',sequencenumber=null,link=null,state='Up',channelstate='6',calleridname='Dora
Grasso',timestamp=null,actionid=null,priority='1',bridgedchannel=null,accountcode=null,calleridnum='104',bridgeduniqueid=null,channelstatedesc='Up',callerid='104',variables=null,extension='106',uniqueid='1443533616.8',internalactionid='491490794_6',seconds='3',context='from-internal',account=null,server=null,channel='SIP/104-00000008',systemHashcode=642522263]
[INFO] 2015-09-29 15:33:39 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:39 a log
org.asteriskjava.manager.event.StatusCompleteEvent[dateReceived='Tue Sep 29
15:33:39 CEST
2015',sequencenumber=null,timestamp=null,actionid=null,internalactionid='491490794_6',items='1',server=null,systemHashcode=784350225]
[INFO] 2015-09-29 15:33:39 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:45 b log Webapp Response: <?xml version="1.0"
encoding="utf-8"?><Response><Dial><Authentication>Success</Authentication><Number>SIP/Dora
Grasso at from-internal
</Number></Dial><callUUID>c6024e26762b4c28916409cc3d80f1b9</callUUID></Response>
[INFO] 2015-09-29 15:33:45 IncomingCall log Successfully Authenticated
Vtiger Secret Key
[INFO] 2015-09-29 15:33:45 a log Executing Asterisk Monitor Application
[INFO] 2015-09-29 15:33:45 a log Executing Asterisk Dial Application
[INFO] 2015-09-29 15:33:45 a log
org.asteriskjava.manager.event.VarSetEvent[dateReceived='Tue Sep 29
15:33:45 CEST
2015',privilege='dialplan,all',sequencenumber=null,timestamp=null,uniqueid='1443533616.8',value=null,server=null,variable='DIALSTATUS',channel='SIP/104-00000008',systemHashcode=332190038]
[INFO] 2015-09-29 15:33:45 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:45 a log
org.asteriskjava.manager.event.VarSetEvent[dateReceived='Tue Sep 29
15:33:45 CEST
2015',privilege='dialplan,all',sequencenumber=null,timestamp=null,uniqueid='1443533616.8',value=null,server=null,variable='DIALEDPEERNUMBER',channel='SIP/104-00000008',systemHashcode=1807970113]
[INFO] 2015-09-29 15:33:45 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:45 a log
org.asteriskjava.manager.event.VarSetEvent[dateReceived='Tue Sep 29
15:33:45 CEST
2015',privilege='dialplan,all',sequencenumber=null,timestamp=null,uniqueid='1443533616.8',value=null,server=null,variable='DIALEDPEERNAME',channel='SIP/104-00000008',systemHashcode=200459252]
[INFO] 2015-09-29 15:33:45 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:45 a log
org.asteriskjava.manager.event.VarSetEvent[dateReceived='Tue Sep 29
15:33:45 CEST
2015',privilege='dialplan,all',sequencenumber=null,timestamp=null,uniqueid='1443533616.8',value=null,server=null,variable='ANSWEREDTIME',channel='SIP/104-00000008',systemHashcode=1100337763]
[INFO] 2015-09-29 15:33:45 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:45 a log
org.asteriskjava.manager.event.VarSetEvent[dateReceived='Tue Sep 29
15:33:45 CEST
2015',privilege='dialplan,all',sequencenumber=null,timestamp=null,uniqueid='1443533616.8',value=null,server=null,variable='DIALEDTIME',channel='SIP/104-00000008',systemHashcode=1395098424]
[INFO] 2015-09-29 15:33:45 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:45 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:45 a log
org.asteriskjava.manager.event.VarSetEvent[dateReceived='Tue Sep 29
15:33:45 CEST
2015',privilege='dialplan,all',sequencenumber=null,timestamp=null,uniqueid='1443533616.8',value='CHANUNAVAIL',server=null,variable='DIALSTATUS',channel='SIP/104-00000008',systemHashcode=1707421914]
[INFO] 2015-09-29 15:33:45 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:45 a log
org.asteriskjava.manager.event.DialEvent[dateReceived='Tue Sep 29 15:33:45
CEST
2015',privilege='call,all',subevent='End',callerid=null,dialstatus='CHANUNAVAIL',sequencenumber=null,destuniqueid=null,srcuniqueid='1443533616.8',dialstring=null,destination=null,timestamp=null,calleridname=null,uniqueid='1443533616.8',server=null,src='SIP/104-00000008',calleridnum=null,channel='SIP/104-00000008',systemHashcode=2136169439]
[INFO] 2015-09-29 15:33:45 b log Sending HTTP request to webapp
[INFO] 2015-09-29 15:33:46 a log Logging off from Asterisk
[INFO] 2015-09-29 15:33:46
org.asteriskjava.manager.internal.ManagerReaderImpl info Terminating reader
thread: No more lines available: null
[INFO] 2015-09-29 15:33:46
org.asteriskjava.manager.internal.ManagerConnectionImpl info Closing socket.
[INFO] 2015-09-29 15:33:46 IncomingCall log Exiting from agi script
[INFO] 2015-09-29 15:33:46
org.asteriskjava.fastagi.internal.FastAgiConnectionHandler info End
AgiScript com.vtiger.apps.asterisk.agi.actions.IncomingCall on
Asterisk-Java DaemonPool-1-thread-1
I have problem only for popup not shown.
Many thanks!
2015-09-29 15:03 GMT+02:00 Manu urs <manu.k at vtiger.com>:
> Hi
>
> Can you Please check if you are getting any error (in Connector log) for
> Incoming calls and are you facing any problem with calls in reaching user
> extension or only the pop-up is not shown in Vtiger?
>
> Regards,
> Manu Urs
>
> On Tue, Sep 29, 2015 at 1:25 PM, Michele Mastropieri <
> michele.mastropieri at gmail.com> wrote:
>
>> If I click-to-call from vtiger, the call is placed out. The problem is
>> that no incoming call popup appears! Please help me if you have some
>> minutes.
>>
>> <<<<Vtiger Asterisk Server Details:>>>>
>> Vtiger Asterisk App URL http://192.168.1.130:8383
>> Outbound Context vtiger
>> Outbound Trunk from-internal
>> Vtiger Secret Key 38270845255
>> <<<<end details>>>>
>>
>> <<<<VtigerAsteriskConnector.properties>>>>
>> // Location where the application server will be running.
>> ServerIP = 127.0.0.1
>> ServerPort = 8383
>> // Call Recordings storage path
>> StorageDir = /VtigerAsteriskConnector
>> // Enable(true) or Disable(false) call recordings
>> Recording = true
>> // Location where the applications database files will be stored.
>> AsteriskAppDBPath = /VtigerAsteriskConnector
>> // Asterisk Server Details
>> AsteriskServerPublicIP = 192.168.1.130
>> AsteriskServerIP = 127.0.0.1
>> AsteriskServerPort = 5038
>> AsteriskUsername = admin
>> AsteriskPassword = 123456
>> // Vtiger CRM URL
>> VtigerURL = http://192.168.2.26
>> VtigerSecretKey = 38270845255
>> //Enable(true) or Disable(false) Asterisk Events and Database Logs in
>> Connector
>> AsteriskLog = true
>> DatabaseLog = true
>> <<<<VtigerAsteriskConnector.properties>>>>
>>
>> <<<<manager.conf>>>>
>> [general]
>> enabled = yes
>> port = 5038
>> bindaddr = 0.0.0.0
>> displayconnects=no ;only effects 1.6+
>> [admin]
>> secret = 123456
>> deny = 0.0.0.0/0.0.0.0
>> permit = 127.0.0.1/255.255.255.0
>> permit = 192.168.1.250/255.255.255.0
>> permit = 192.168.2.26/255.255.255.0
>> permit = 192.168.5.102/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
>> <<<<end manager.conf>>>>
>>
>> <<<<extensions.conf (interested parts)>>>>
>> [vtiger]
>> exten => _X.,1,Agi(agi://127.0.0.1/incoming.agi)
>>
>> [from-internal]
>> include => from-internal-noxfer
>> include => from-internal-xfer
>> include => bad-number
>> exten => _X.,1,Agi(agi://127.0.0.1/incoming.agi)
>> <<<<end extension.conf>>>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
>
> --
> Regards,
> Manu
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150929/968e1423/attachment.html>
More information about the vtigercrm-developers
mailing list