All-In-One CTI is a computer telephony integration between SugarCRM and most popular PBXs. Easy install. Stable work. 100% support.
#835 - FreePBX access to SuiteCRM
Hi,
Last question I hope.
I am getting an entry in suitecrm.log that says: SECURITY: User authentication for pbx failed
I can't seem to find where I define what CRM user account that All in One uses to update the CRM with the call record details?
The calls etc themselves are working fine, but it would appear that All In One can't update the Phone Calls related list after a call has completed.
Where do I specify what CRM username and password that All in One should use?
Paddy
7 years ago
Hi Paddy, I have never seen such error. So: 1. First of all try rebuild roles in Admin in Repair. Make sure all your users have access to module Phone Calls. 2. Can you get audio records from your FreePBX (can you listen to records in your phonecalls)? 3. Could it be that you have some other plugins in your system.
7 years ago
Actually, that was another issue........(the pbx not being able to log in)
To answer your question, yes I can access the call recordings via UCP in Freepbx.
And there's no other plugins in SuiteCRM or Freepbx
But this is the cel_prostiezvonki log file entry for a call: (just after the call successful), I can email the full log file if that helps?)
18.12.2017 14:42:48.092 INFO ping 101 18.12.2017 14:42:56.825 WARNING processHangup: call info not found by LinkdID
18.12.2017 14:42:56.949 WARNING processHangup: call info not found by LinkdID
18.12.2017 14:42:56.950 WARNING processLinkedIDEnd: call info not found by LinkdID
18.12.2017 14:43:17.505 INFO Client disconnected 18.12.2017 14:43:17.948 INFO validation successfull
7 years ago
Hi Paddy, 1. Yes, please send log file of PBX-connector and log file of your SugarCRM (as I understood, you found string about access problem in CRM log). 2. Regarding "the pbx not being able to log in" - in our solution PBX does not login by itself. Your browser logins in PBX connector, but not vice versa.
7 years ago
Below is the cel_prostiezvonki.log and I have checked that I can listen to the recording in the UCP manager of freepbx.
Is there another log file for the pbx-connector?
The error with the string in the suitecrm log was unrelated.
19.12.2017 10:53:48.306 INFO Starting Asterisk 1.2.9.2 19.12.2017 10:53:48.307 INFO Call Initialization, module build time is 2017-02-06, 17:57 UTC 19.12.2017 10:53:48.307 INFO Service start successful: port = 10150, password = XXXXXXX 19.12.2017 10:53:48.307 INFO ProtocolLib initialized port=10150
19.12.2017 10:53:48.307 INFO
========== CONFIG ========== Module for Asterisk 13 password = XXXXXXX certificate_path = /etc/asterisk/ log_file = /var/log/asterisk/cel_prostiezvonki.log log_level = 4 port = 10150 internal_num_len = 3 record_internal_path = /var/spool/ record_external_path = audio_format = wav smart_transfer = 1 transfer_time = 3 answer_time = 10 queue_max_length = 500 use_ssl = 2 add_prefix = contract = ISNQQ01524302858553728530 channel_type = SIP out_prefix = only_outgoing = 0 event_log = 0 lame_codec_path =
is_free_pbx = 1
19.12.2017 10:53:48.307 INFO macro-prostie-zvonki context create succeeded
19.12.2017 10:53:48.323 INFO Client event from CRM: guid = 101, extension = 101 19.12.2017 10:53:48.323 INFO Client event from CRM: guid = 102, extension = 102 19.12.2017 10:53:48.326 ERROR File /etc/asterisk/pz_status.html does not exist, or cannot be opened
19.12.2017 10:53:48.881 INFO set license status to 1 19.12.2017 10:53:48.881 INFO set max clients(statmodule) to 1 19.12.2017 10:53:48.881 INFO set max clients(sugarcrm) to 20 19.12.2017 10:53:48.881 INFO License server successfully set license status 19.12.2017 10:54:20.953 WARNING processHangup: call info not found by LinkdID
19.12.2017 10:54:20.955 WARNING processLinkedIDEnd: call info not found by LinkdID
19.12.2017 10:54:37.994 INFO validation successfull 19.12.2017 10:54:37.994 INFO New client connected: GUID 101, ClientType sugarcrm, PhoneNumber 101, BroadcastGroup , BroadcastEventsMask 0, EventsMode , EventsMask 0, ProtocolVersion 1 19.12.2017 10:54:37.994 INFO Client event from CRM: guid = 101, extension = 101 19.12.2017 10:55:00.033 INFO ping 101 19.12.2017 10:55:07.910 INFO Client disconnected 19.12.2017 10:55:08.205 INFO validation successfull 19.12.2017 10:55:08.205 INFO New client connected: GUID 101, ClientType sugarcrm, PhoneNumber 101, BroadcastGroup , BroadcastEventsMask 0, EventsMode , EventsMask 0, ProtocolVersion 1 19.12.2017 10:55:08.205 INFO Client event from CRM: guid = 101, extension = 101 19.12.2017 10:55:11.668 INFO Call event from CRM: src = 101, dst = 0879799097 19.12.2017 10:55:11.668 WARNING success=1; error_code=0 19.12.2017 10:55:11.678 INFO processCRMCall
19.12.2017 10:55:11.678 INFO call from 101 to 0879799097
19.12.2017 10:55:11.679 INFO Call successfully
19.12.2017 10:55:15.341 INFO Generating new call ID: return 396802369781761 19.12.2017 10:55:15.341 INFO sending incoming call event from 'or''=' to , currentID=396802369781761
19.12.2017 10:55:15.341 INFO OnIncomingCall event: callID = 396802369781761, source = 'or''=', line = from-sip-external 19.12.2017 10:55:15.341 INFO Sending event to client 101 19.12.2017 10:55:15.341 INFO PBX event was pushed to 1 clients 19.12.2017 10:55:15.535 INFO Transfer event from CRM: callID = 396802369781761, dst = 19.12.2017 10:55:15.535 WARNING success=1; error_code=0 19.12.2017 10:55:31.087 INFO ping 101 19.12.2017 10:55:34.446 INFO processHangup: sending finish call event from 'or''=' to , duration = 0
19.12.2017 10:55:34.446 INFO OnCallFinished event: callID = 396802369781761, source = 'or''=', destination = , start = 1513680915, end = 1513680934, duration = 0, direction = 0, record = , line = 01141315281818 19.12.2017 10:55:34.446 INFO PBX event was pushed to 0 clients 19.12.2017 10:55:34.446 ERROR Stop audio record failed, _canRecord = false or info == null or info->recordFile == empty
19.12.2017 10:55:34.448 WARNING processLinkedIDEnd: call info not found by LinkdID
19.12.2017 10:55:44.643 WARNING processHangup: call info not found by LinkdID
19.12.2017 10:55:44.759 WARNING processHangup: call info not found by LinkdID
19.12.2017 10:55:44.761 WARNING processLinkedIDEnd: call info not found by LinkdID
19.12.2017 10:56:02.037 INFO ping 101 19.12.2017 10:56:33.074 INFO ping 101 19.12.2017 10:56:46.083 INFO Client disconnected 19.12.2017 10:56:46.377 INFO validation successfull 19.12.2017 10:56:46.377 INFO New client connected: GUID 101, ClientType sugarcrm, PhoneNumber 101, BroadcastGroup , BroadcastEventsMask 0, EventsMode , EventsMask 0, ProtocolVersion 1 19.12.2017 10:56:46.377 INFO Client event from CRM: guid = 101, extension = 101 19.12.2017 10:57:04.041 INFO ping 101 19.12.2017 10:57:35.082 INFO ping 101 19.12.2017 10:57:41.551 INFO Generating new call ID: return 396802408054786 19.12.2017 10:57:41.551 INFO sending incoming call event from 'or''=' to , currentID=396802408054786
19.12.2017 10:57:41.551 INFO OnIncomingCall event: callID = 396802408054786, source = 'or''=', line = from-sip-external 19.12.2017 10:57:41.551 INFO Sending event to client 101 19.12.2017 10:57:41.551 INFO PBX event was pushed to 1 clients 19.12.2017 10:57:41.764 INFO Transfer event from CRM: callID = 396802408054786, dst = 19.12.2017 10:57:41.764 WARNING success=1; error_code=0 19.12.2017 10:58:00.565 INFO processHangup: sending finish call event from 'or''=' to , duration = 0
19.12.2017 10:58:00.565 INFO OnCallFinished event: callID = 396802408054786, source = 'or''=', destination = , start = 1513681061, end = 1513681080, duration = 0, direction = 0, record = , line = 90041315281818 19.12.2017 10:58:00.566 INFO PBX event was pushed to 0 clients 19.12.2017 10:58:00.566 ERROR Stop audio record failed, _canRecord = false or info == null or info->recordFile == empty
19.12.2017 10:58:00.568 WARNING processLinkedIDEnd: call info not found by LinkdID
19.12.2017 10:58:06.030 INFO ping 101 19.12.2017 10:58:37.072 INFO ping 101 19.12.2017 10:59:08.029 INFO ping 101 19.12.2017 10:59:39.067 INFO ping 101 19.12.2017 11:00:06.052 INFO Generating new call ID: return 396802446065667 19.12.2017 11:00:06.052 INFO sending incoming call event from 'or''=' to , currentID=396802446065667
19.12.2017 11:00:06.052 INFO OnIncomingCall event: callID = 396802446065667, source = 'or''=', line = from-sip-external 19.12.2017 11:00:06.052 INFO Sending event to client 101 19.12.2017 11:00:06.052 INFO PBX event was pushed to 1 clients 19.12.2017 11:00:06.253 INFO Transfer event from CRM: callID = 396802446065667, dst = 19.12.2017 11:00:06.253 WARNING success=1; error_code=0 19.12.2017 11:00:10.025 INFO ping 101
7 years ago
Hi Paddy, I'm sorry, but I'm lost in current question.
The initial question was about access rights, but I figured out that it is not about our module. What is actual question?
6 years ago
tail -f /var/log/asterisk/cel_prostiezvonki_04-Feb-2018_06-34-28.log
04.02.2018 07:12:29.328 WARNING processHangup: call info not found by LinkdID
04.02.2018 07:12:29.331 WARNING processLinkedIDEnd: call info not found by LinkdID
04.02.2018 07:14:07.892 INFO Generating new call ID: return 397863406010379 04.02.2018 07:14:07.892 INFO sending incoming call event from 83213141 to , currentID=397863406010379
04.02.2018 07:14:07.892 INFO OnIncomingCall event: callID = 397863406010379, source = 83213141, line = from-trunk-sip-112 04.02.2018 07:14:07.893 INFO PBX event was pushed to 0 clients 04.02.2018 07:14:16.455 INFO processHangup: sending finish call event from 83213141 to , duration = 0
04.02.2018 07:14:16.455 INFO OnCallFinished event: callID = 397863406010379, source = 83213141, destination = , start = 1517728447, end = 1517728456, duration = 0, direction = 0, record = , line = 68173194 04.02.2018 07:14:16.456 INFO PBX event was pushed to 0 clients 04.02.2018 07:14:16.456 ERROR Stop audio record failed, _canRecord = false or info == null or info->recordFile == empty
04.02.2018 07:14:16.460 WARNING processLinkedIDEnd: call info not found by LinkdID
6 years ago
Hi Waqas, I replied you by email