FreePBX | Register | Issues | Wiki | Portal | Support

Superfecta test ok, but only number on phone


(Smrfkinfo) #1

Hi!

On my FreePBX, I have Superfecta settings. At the test I have correct results, it shows the caller’s name. When I dial an other number, my name is on that phone display. (Also without superfecta) When I answer to an incoming call (from who aren’t in the FreePBX phonebook), on my phone display I can see only numbers, not the caller name. I can’t find any other settings to superfecta. What is the problem?

(in superfecta I have mysql query from another IP)

Thank you!


(Lorne Gaetz) #2

provide trace of inbound call:
https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs


(Smrfkinfo) #3

Here is the output of amportal a dbug:

OUT >
==> /var/log/asterisk/freepbx.log <==
[2018-May-15 08:47:41] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
OUT > [2018-May-15 08:47:41] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76
OUT > [2018-May-15 08:47:41] [WARNING] (callback/functions.inc.php:165) - Depreciated Function callback_list detected in /var/www/html/admin/modules/callback/functions.inc.php on line 9
OUT > [2018-May-15 08:47:41] [WARNING] (core/functions.inc.php:6441) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/core/functions.inc.php on line 830
OUT > [2018-May-15 08:47:41] [WARNING] (ringgroups/functions.inc.php:483) - Depreciated Function ringgroups_list detected in /var/www/html/admin/modules/ringgroups/functions.inc.php on line 10
OUT >
==> /var/log/asterisk/freepbx_security.log <==
[2018-05-15 08:47:45] {"module":"superfecta","command":"save_options","scheme":"Default","source":"LDAP","LDAP_Host":"10.61.0.81","LDAP_User":"somintranet","LDAP_Password":"Som14000","LDAP_Server":"1","LDAP_Unit":"OU=SOM,OU=DDR, ou=police, dc=police,dc=hu","LDAP_Format":"2","Filter_Length":"20"}
OUT > [2018-05-15 08:47:50] {"module":"superfecta","command":"update_sources","scheme":"Default","data":["Superfecta_Cache","SFDatabase","Asteridex","Asterisk_Phonebook"]}
OUT > [2018-05-15 08:47:56] {"module":"superfecta","command":"update_sources","scheme":"Default","data":["Superfecta_Cache","SFDatabase","Asterisk_Phonebook"]}
OUT >
==> /var/log/asterisk/freepbx.log <==
[2018-May-15 08:48:02] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
OUT > [2018-May-15 08:48:02] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76
OUT > [2018-May-15 08:48:02] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
OUT > [2018-May-15 08:48:02] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76
OUT >
==> /var/log/asterisk/freepbx_security.log <==
[2018-05-15 08:48:04] {"module":"superfecta","command":"update_sources","scheme":"Default","data":["SFDatabase","Superfecta_Cache","Asterisk_Phonebook"]}
OUT >
==> /var/log/asterisk/freepbx_dbug <==
2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:48:10      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:48:10    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT >
==> /var/log/asterisk/freepbx.log <==
[2018-May-15 08:49:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
OUT > [2018-May-15 08:49:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76
OUT > [2018-May-15 08:49:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
OUT > [2018-May-15 08:49:01] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76
OUT >
==> /var/log/asterisk/freepbx_dbug <==
2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


OUT > 2018-May-15 08:49:19      /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66


yes


2018-May-15 08:49:19    /var/www/html/admin/modules/dashboard/classes/phpsysinfo/includes/error/class.PSIError.inc.php:66

yes


(Smrfkinfo) #4

Here is the full log. I called 5703 from 2433.

(I can’t upload attachment becouse I am a new user)

https://drive.google.com/file/d/1g-l7uCgyK-0F22QCqYo5eZEGi4yyAufN/view?usp=sharing


(Smrfkinfo) #5

While calling, there is the log:

https://drive.google.com/open?id=110xqpvKes_fZJOAk8STAmfjHAui-dQk-

I think, somewhere there is the error:

[2018-05-15 07:13:48] VERBOSE[128959][C-00000089] pbx.c: Executing [s@macro-dial:6] AGI("SIP/cisco_2821-000000e7", "dialparties.agi") in new stack
[2018-05-15 07:13:48] VERBOSE[128959][C-00000089] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[2018-05-15 07:13:48] VERBOSE[128959][C-00000089] res_agi.c: dialparties.agi: Starting New Dialparties.agi
[2018-05-15 07:13:48] VERBOSE[128959][C-00000089] res_agi.c: dialparties.agi: Caller ID name is 'unknown' number is '2433'

(Lorne Gaetz) #6

40k lines and superfecta doesn’t appear anywhere. Have you configured Superfecta on your inbound route(s)?


(Smrfkinfo) #7

Only I have one inbound route. The settings are:

–General:
Description: incoming
DID Number: ANY (blank)
CallerID Number: ANY (blank)
CID Priority Route: NO
Alert Info: none
Ringer Volume Override: none
CID Name Prefix: “Test:” (this also doesn’t showed on phones)
Music On Hold: Default
Set Destination: ==choose one==

–Advanced
Signal RINGING: NO
Reject Reverse Charges: NO
Force Answer: NO
Pause Before Answer:

–Privacy
Privacy Manager:NO
Max attempts:
Min Length:

–Fax
Detect Faxes: NO

–Other:
Call Recording: Don’t care
CID Lookup Source: None
Language: Default
Enable Superfecta Lookup: Yes
Superfecta Scheme: Default


At the superfecta scheme settings these data sources are activated:
Asterisk Phonebook
Superfecta Cache
Trunk Provided
SFDatabase

At the SFDatabase
DB Driver: mysql
DB Host: 10.61.0.25
DB Port: 3306
DB Name: telefonkonyv
DB User: root
DB Password:
SQL Query: SELECT nev FROM telefonkonyv WHERE szam LIKE :thenumber
Post Processing SQL Query: none


Debug/Test Run Scheme settings:
Phone Number:2267
Debug Level: INFO
—> Run This Scheme

Result:
Debug is on and set at level: 1
The Original Number: 2267
The Scheme: Default
Scheme Type: SINGLEFECTA
Debugging Enabled, will not stop after first result

Scheme Asked is: Default
The DID is: 5555555555
The CNUM is: 2267
The CNAME is: CID Superfecta!

Starting scheme Default
 Executing Asterisk Phonebook
Searching Asterisk Phonebook ... 
not found
result  took 0.0041 seconds.

 Executing Superfecta Cache
Searching Superfecta Cache ... 
not found
result  took 0.0006 seconds.

 Executing Trunk Provided
Looking for Trunk Provided Caller ID ... 
found value of CID Superfecta! ... 
determined good.
'CID Superfecta!'
result  took 0.0002 seconds.

 Executing SFDatabase
Connecting to database....
Connected!
Searching Database...
Found..
'Teszt Laci'
result  took 0.0065 seconds.

Converting result to UTF-8
Post CID retrieval processing
 Executing Superfecta Cache
Caller ID data added to Superfecta_Cache.
 Executing SFDatabase
Connecting to database....
Connected!
Executing post processing query...
Done
This scheme would set the caller id to: CID Superfecta!

Returned Result would be: CID Superfecta!
result took 0.01884388923645 seconds

So that is return “Teszt Laci” but at the end the callerID is set to: CID Superfecta!

I don’t understand why.


(Smrfkinfo) #8

There are some changes:

When I disabled Trunk Provided and Superfecta Cache in the scheme, the test result is:

Debug is on and set at level: 1
The Original Number: 2267
The Scheme: Default
Scheme Type: SINGLEFECTA
Debugging Enabled, will not stop after first result

Scheme Asked is: Default
The DID is: 5555555555
The CNUM is: 2267
The CNAME is: CID Superfecta!

Starting scheme Default
 Executing SFDatabase
Connecting to database....
Connected!
Searching Database...
Found..
'Teszt Laci'
result  took 0.0222 seconds.

 Executing Asterisk Phonebook
Searching Asterisk Phonebook ... 
not found
result  took 0.0033 seconds.

Converting result to UTF-8
Post CID retrieval processing
 Executing SFDatabase
Connecting to database....
Connected!
Executing post processing query...
Done
This scheme would set the caller id to: Teszt Laci

Returned Result would be: Teszt Laci
result took 0.034371137619019 seconds

But on the phone’s display still nothing, only the number.
When I call from IP phone to IP phone or to PSTN, these are shows the caller’s name. Only the IP phone can not display when calling from trunk (PSTN).


(Lorne Gaetz) #9

You appear to have custom dialplan on your system that interferes with normal call processing. Are you perhaps using the context from-pstn-custom?


(Smrfkinfo) #10

Which context settings? At the FreePBX Advanced Settings or at the Asterisk SIP Settings -> Chan SIP Settings ?

I tried with “Disable -custom Context Includes = YES” and NO but nothing difference.


(Smrfkinfo) #11

I checked the logs on the database server. When I press the test button in a Superfecta scheme, there is a query but when I make a call, no query.


(Smrfkinfo) #12

Here is a description:

At the end, there is a possible solution, but I have no maint user and pass. I created, but there is no /admin/modules/superfecta/bin/callerid.php.


(Lorne Gaetz) #13

Nothing on that page applies to current versions of Superfecta. On your system, what is the content of the file /etc/asterisk/extensions_custom.conf?


(Smrfkinfo) #14

It is empty.