Porch

Member

Last active 10 years ago

  1. 10 years ago
    Wed Dec 11 00:30:06 2013
    Porch started the conversation FOP2 address book and Caller ID Superfecta.

    I am trying to pull the FOP2 address book into Caller ID Superfecta, but the FOP2 Address book module appears to be broken in 2 places.

    It never retrieves the contact in the database. I found that the $run_param['CNAM_Type'] is not set.
    Setting this to 2 at line 37 fixes the problem and it returns a result.

    The other thing is that unless FOP2 is the last in the results, it does something to code or database or something. The next module to run errors out with

    Looking for Trunk Provided Caller ID ...
    Fatal error: Cannot use object of type DB_Error as array in /var/www/html/admin/modules/superfecta/sources/source-Trunk_Provided.module on line 24

    Or If I use OpenCnam
    Searching OpenCNAM ...
    Fatal error: Cannot use object of type DB_Error as array in /var/www/html/admin/modules/superfecta/sources/source-OpenCNAM.module on line 28

    The above DB_Error does not appear if I set FOP2 below the other modules or disable it.
    FOP2Admin is 1.2.14
    FreePBX is 2.11.0.8
    Running PIAF

    I have two systems with the same setup that have this issue.