Support #520

FreePBX2.9 and Superfecta 2.2.4 can not indentify a call

Added by harryhirsch about 1 year ago. Updated 12 months ago.

Status:New Start:03/25/2011
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-

Description

Hi again,

I discovered following problem :
When I used the Web interface of FreePBX -> Superfecta to test with,
'Test a phone number against the selected sources'
I can test without problems a phone number with all sources (LocalTel-CH still not work).
No username/password necessary.

But when there is an incoming call, the number/name was not identified.
Even when the number/name is listed in superfectacache base, it was not shown on the phones.
So I controlled the Incoming route and superfecta was enabled their.
I tried with username/password and without setting in 'Caller ID Superfecta' page.
No success.

Here the asterisk (v1.6.2.13) trace for an incoming call:
-- Executing [0033972132322@from-trunk:1] Set("SIP/OVH-2302-00000002", "__FROM_DID=0033972132322") in new stack
-- Executing [0033972132322@from-trunk:2] Gosub("SIP/OVH-2302-00000002", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/OVH-2302-00000002", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/OVH-2302-00000002", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/OVH-2302-00000002", "") in new stack
-- Executing [0033972132322@from-trunk:3] Set("SIP/OVH-2302-00000002", "CHANNEL=fr") in new stack
-- Executing [0033972132322@from-trunk:4] Gosub("SIP/OVH-2302-00000002", "cidlookup,cidlookup_4,1") in new stack
-- Executing [cidlookup_4@cidlookup:1] Set("SIP/OVH-2302-00000002", "CURLOPT=7") in new stack
-- Executing [cidlookup_4@cidlookup:2] Set("SIP/OVH-2302-00000002", "CALLERID=") in new stack
-- Executing [cidlookup_4@cidlookup:3] Return("SIP/OVH-2302-00000002", "") in new stack
-- Executing [0033972132322@from-trunk:5] ExecIf("SIP/OVH-2302-00000002", "1 ?Set(CALLERID=0628358168)") in new stack

CURLOPT is inside of asterisk.
The 'core show functions' showed this for curl :
'CURL CURL Retrieves the contents of a URL'
'CURLOPT CURLOPT Set options for use with the CURL function'

BTW, I have installed the r481 patch.

Some hints for this ?

History

Updated by harryhirsch about 1 year ago

Hi,

Here some additional Infos to get Superfecta work with FreePBX 2.9 (asterisk 1.6) :
- Use mandatory Superfecta version 2.2.4, because 2.2.3 do not correctly work with FreePBX 2.9.
- Add patch r475
- Username and password are necessary (FreePBX 'admin' account)

Bye and thanks

Updated by lgaetz about 1 year ago

Using r485 with Superfecta 2.2.4 and FreePBX 2.6.x and get the following from debug, everything still works but LOTS of output:

Detected FreePBX version is at most 2.8

Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR.php on line 563

Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR.php on line 566

Strict Standards: Non-static method DB::connect() should not be called statically in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 87

Strict Standards: Non-static method DB::parseDSN() should not be called statically in /usr/share/pear/DB.php on line 520

Strict Standards: Non-static method DB::isError() should not be called statically in /usr/share/pear/DB.php on line 557

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/pear/DB.php on line 594

Strict Standards: Non-static method PEAR::isError() should not be called statically in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 88

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/pear/PEAR.php on line 275

Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 2195

Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1217

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/pear/DB.php on line 594
Debugging Enabled, will not stop after first result.

Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 2195

Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1217

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/pear/DB.php on line 594

Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 132

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/pear/DB.php on line 594

--------------------------------------------------------------------------------
Processing Default Scheme.
Matched CID Rule: '1902+Nxxxxxx' with 'sanitized'

Searching The Address Book for: sanitized ...
found, returning: 'Visual Voice Studio'
result took 0.0151 seconds.

Searching Superfecta Cache ...
Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 2195

Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 2195

Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1217

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/pear/DB.php on line 594

Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1292

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/pear/DB.php on line 594

Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB.php on line 1387

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/pear/DB.php on line 594

Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/html/admin/modules/superfecta/bin/source-Superfecta_Cache.php on line 64

Strict Standards: is_a(): Deprecated. Please use the instanceof operator in /usr/share/pear/DB.php on line 594
'D:Visual Voice Studio'
result took 0.0012 seconds.

Searching http://www.whitepages.ca ... 'Lorne Gaetz'
result took 0.9654 seconds.

Post CID retrieval processing.

Returned Result would be: Visual Voice Studio
result took 0.0467 seconds.

Updated by tm1000 about 1 year ago

I made it spit out more debug information. For some reason E_ALL doesn't return nearly as much as -1 for error_reporting(). Strange eh?

Updated by lgaetz 12 months ago

Can we get rid of the strict standards output now, or is the idea to phase in fixes for these "issues"

Also available in: Atom PDF