All-In-One CTI is a computer telephony integration between SugarCRM and most popular PBXs. Easy install. Stable work. 100% support.
#1547 - no pop-up window
Install the module in Freepbx with Asterisk 13, when you click on the number the call is made but there is no pop-up window or record of the call.
6 years ago
Hi, I'm sorry I did not reply you earlier.
There could be different reason why you don't see pop-up. 1. Your browser blocks pop-up. In that case you should see red small icon on rigth side in URL-string in your browser just after your extenstion gets new incoming call. 2. Sometimes "Ajax mode" can break pop-up. Please go to Admin->System Settings->Configure AJAX User Interface . Disable there Accounts, Lead s and Contacts modules, go to detail view of any record (Account, Contact, Lead) and try to get incoming call. If it works for you now, you can disable all modules in AJAX User Interface. This setting does not effect standard logic of the system. 3. You do not set correct settings. If you can send me these: 3.1. Screenshot with browser console right after incoming call 3.2. Few latest log file from your PBX. The have names like cel_prostiezvonki{date-time}.log and they locate in /var/log/asterisk I will help investigate it and advise.
If you can give me access to your CRM by http, please do it. We can find problem much faster (please send URL, login and password to my email a@vedisoft.info). We can talk by skype as well.
Best regards Andrey Uymin Project manager, Vedisoft a@vedisoft.info skype: andrew.uymin
6 years ago
pz connect [host:ws://10.0.71.49:10150, password: 12345, phone:5716] sugar_grp1_yui.js?v=QQk8OhjXag3Uw2qN84ZGKQ:16 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. A @ sugar_grp1_yui.js?v=QQk8OhjXag3Uw2qN84ZGKQ:16 sugar_grp1.js?v=QQk8OhjXag3Uw2qN84ZGKQ:922 extension => 5716 => 5716 sugar_grp1.js?v=QQk8OhjXag3Uw2qN84ZGKQ:897
0
00
0  6 years ago
I need this to support you: 3.2. Few latest log file from your PBX. The have names like cel_prostiezvonki{date-time}.log and they locate in /var/log/asterisk
6 years ago
Log Asterisk
09.11.2018 15:38:20.882 INFO validation successfull 09.11.2018 15:38:20.883 INFO New client connected: GUID 5716, ClientType sugarcrm, PhoneNumber 5716, BroadcastGroup , BroadcastEventsMask 0, EventsMode , EventsMask 0, ProtocolVersion 1 09.11.2018 15:38:20.883 INFO Client event from CRM: guid = 5716, extension = 5716 09.11.2018 15:38:31.894 INFO Client disconnected 09.11.2018 15:38:32.319 DEBUG on validate 09.11.2018 15:38:32.319 DEBUG resource = /?CID=MTIzNDU=&CT=sugarcrm&GID=5716&PhoneNumber=5716&BroadcastEventsMask=0&BroadcastGroup=&PzProtocolVersion=1
09.11.2018 15:38:32.319 INFO validation successfull 09.11.2018 15:38:32.320 INFO New client connected: GUID 5716, ClientType sugarcrm, PhoneNumber 5716, BroadcastGroup , BroadcastEventsMask 0, EventsMode , EventsMask 0, ProtocolVersion 1 09.11.2018 15:38:32.320 INFO Client event from CRM: guid = 5716, extension = 5716 09.11.2018 15:38:45.019 INFO ping 5716 09.11.2018 15:38:45.182 DEBUG on message(PFJlcXVlc3Q+PFByb3RvY29sVmVyc2lvbj4xPC9Qcm90b2NvbFZlcnNpb24+PE1ldGhvZD5DYWxsPC9NZXRob2Q+PFJlcXVlc3RJRD4wPC9SZXF1ZXN0SUQ+PERhdGE+PEZyb20+NTcxNjwvRnJvbT48VG8+NTcxNjwvVG8+PC9EYXRhPjwvUmVxdWVzdD4=) 09.11.2018 15:38:45.182 DEBUG requestDecoded=1Call057165716 09.11.2018 15:38:45.182 INFO Call event from CRM: src = 5716, dst = 5716 09.11.2018 15:38:45.182 WARNING success=1; error_code=0 09.11.2018 15:38:45.182 DEBUG Response before encode:
0
00
0 09.11.2018 15:38:45.645 DEBUG send response(PFJlc3BvbnNlPjxDb2RlPjA8L0NvZGU+PFJlcXVlc3RJRD4wPC9SZXF1ZXN0SUQ+PERldGFpbHM+PC9EZXRhaWxzPjxEYXRhLz48L1Jlc3BvbnNlPg==) 09.11.2018 15:38:45.654 DEBUG Event has been received, callid - 404172550963221, type - 0, src - "", dst - "" 09.11.2018 15:38:45.654 DEBUG processCRMTransfer crm transfer to empty number 09.11.2018 15:38:54.481 DEBUG processAstEvent: event type: 4 ANSWER 09.11.2018 15:38:54.481 ERROR Start audio record failed, _canRecord = false or info == null 09.11.2018 15:38:54.481 INFO Answer detected callerID = 5716 09.11.2018 15:38:54.481 INFO onTransferredAnswer event: callID = 404172550963221, source = 5716, destination = 5716, line = from-internal 09.11.2018 15:38:54.482 DEBUG Event before encode: 09.11.2018 15:38:54.482 INFO Sending event to client 5716 09.11.2018 15:38:54.482 INFO PBX event was pushed to 1 clients 09.11.2018 15:38:54.574 DEBUG processAstEvent: event type: 5 APP_START 09.11.2018 15:38:54.575 DEBUG processDialCall: src: 5716 dst: 09.11.2018 15:38:54.575 DEBUG processDialCall info found 5716 5716 SIP/5716-0000001e 09.11.2018 15:38:54.845 DEBUG processAstEvent: event type: 1 CHAN_START 09.11.2018 15:38:54.845 DEBUG processIncomingCall event src_id_num = 5716 09.11.2018 15:38:54.845 DEBUG processIncomingCall: src: 5716 09.11.2018 15:38:55.124 DEBUG processAstEvent: event type: 3 HANGUP 09.11.2018 15:38:55.124 DEBUG processHangup from 5716 to ,event time: 1541795935 09.11.2018 15:38:55.129 DEBUG processAstEvent: event type: 2 CHAN_END 09.11.2018 15:38:55.133 DEBUG processAstEvent: event type: 6 APP_END 09.11.2018 15:38:55.136 DEBUG processAstEvent: event type: 3 HANGUP 09.11.2018 15:38:55.136 DEBUG processHangup from 5716 to ,event time: 1541795935 09.11.2018 15:38:55.136 INFO processHangup: sending finish call event from 5716 to 5716, duration = 1 09.11.2018 15:38:55.136 INFO OnCallFinished event: callID = 404172550963221, source = 5716, destination = 5716, start = 1541795925, end = 1541795935, duration = 1, direction = 0, record = , line = from-internal 09.11.2018 15:38:55.136 DEBUG Event before encode: 09.11.2018 15:38:55.136 INFO Sending event to client 5716 09.11.2018 15:38:55.137 INFO PBX event was pushed to 1 clients 09.11.2018 15:38:55.137 ERROR Stop audio record failed, _canRecord = false or info == null or info->recordFile == empty 09.11.2018 15:38:55.137 DEBUG processHangup: removeRes = 1, Calls Number = 0, removed call ID=404172550963221 09.11.2018 15:38:55.141 DEBUG processAstEvent: event type: 2 CHAN_END 09.11.2018 15:38:55.145 DEBUG processAstEvent: event type: 14 LINKEDID_END 09.11.2018 15:38:55.145 WARNING processLinkedIDEnd: call info not found by LinkdID Log Console sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:919 pz connect [host:ws://10.0.71.49:10150, password: 12345, phone:5716] sugar_grp1_yui.js?v=…jXag3Uw2qN84ZGKQ:16 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:922 extension => 5716 => 5716 sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:8970
0 sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:897 sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:921 Event {type: "1", callID: "404172550963221", from: "5716", line: "from-internal"} callID: "404172550963221" from: "5716" line: "from-internal" type: "1" proto: isHistory: ƒ () isIncoming: ƒ () isIncomingAnswer: ƒ () isOutcoming: ƒ () isOutcomingAnswer: ƒ () isTransfer: ƒ () constructor: ƒ () proto: Object sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:8970
0 sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:897 sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:921 Event {type: "32", callID: "404172550963221", from: "5716", line: "from-internal", to: "5716"} callID: "404172550963221" from: "5716" line: "from-internal" to: "5716" type: "32" proto: isHistory: ƒ () isIncoming: ƒ () isIncomingAnswer: ƒ () isOutcoming: ƒ () isOutcomingAnswer: ƒ () isTransfer: ƒ () constructor: ƒ () proto: Object sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:922 Event {type: "32", callID: "404172550963221", from: "5716", line: "from-internal", to: "5716"} callID: "404172550963221" from: "5716" line: "from-internal" to: "5716" type: "32" proto: Object sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:897 sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:921 Event {type: "4", callID: "404172550963221", direction: "0", duration: "1", end: "1541795935", …} callID: "404172550963221" direction: "0" duration: "1" end: "1541795935" from: "5716" line: "from-internal" record: "" start: "1541795925" to: "5716" type: "4" proto: Object sugar_grp1.js?v=QQk8…Xag3Uw2qN84ZGKQ:922 Event {type: "4", callID: "404172550963221", direction: "0", duration: "1", end: "1541795935", …} callID: "404172550963221" direction: "0" duration: "1" end: "1541795935" from: "5716" line: "from-internal" record: "" start: "1541795925" to: "5716" type: "4" proto: Object6 years ago
There is no calls from external mumber to internal in your log. To get popup you should call from extenal number which has more digits than "internal"parameter in cel_prostiezvonki.conf. For example make incoming call from your mobile phone to your 5716.
6 years ago
Ok, calls to external number work but the window does not appear when clicking on the number in the contacts. Incoming calls I have not tried, calls with internal numbers also work out but incoming popups does not appear either.
6 years ago
PS We did custom solution with pop-up on outgoing, but it will be customization and it will be charged additionally.