TUTORIAL CID Superfecta ScreenPop for XBMC

Here is the output when I click Test All Schemes and enter the number in the debug


Send to XBMC: http://xbmc.local:2345

Returned Result would be: Chase Florell (Mobile)
result
scrollup.gif
took 0.0420 seconds.

In that case you have a proper XBMC display?


When you enter the http string, you should have
Chase Florell (Mobile)as a result.

The http string should be the address of your callerid.php in the superfecta module folder, and add at the end a ?thenumber=1403xxxxxxx
 
Works Like a charm. Just one request could we get the option to either add or remove displaying the name as well?

Thanks,

What do you mean? You want to display one line only with just the number? Not the name? Or just the name and not the number?
 
In that case you have a proper XBMC display?


When you enter the http string, you should have
Chase Florell (Mobile)as a result.

The http string should be the address of your callerid.php in the superfecta module folder, and add at the end a ?thenumber=1403xxxxxxx

When I enter the http string, I get absolutely nothing (blank screen - empty view source). When I debug, XBMC works as expected.
 
What do you mean? You want to display one line only with just the number? Not the name? Or just the name and not the number?

No never mind I just had some else call me and all the info was displayed like expected.
 
Please answer all questions, if not we will spend hours trying to understand your problem.

When in the superfecta page:
- enter the complete number (including the leading 1)
- check the 'test all cid'
- click debug.

Do you have a correct XBMC display Yes or No?
 
Please answer all questions, if not we will spend hours trying to understand your problem.

In the superfecta page:
- enter the complete number (including the leading 1)
- check the 'test all cid'
- click debug.

Do you have a correct XBMC display Yes or No?

Yes. I already answered that question (twice). I do those EXACT steps (done dozens of times now with the exact same results).

Enter Complete Number Including Leading 1
Check TEST ALL CID
CLICK DEBUG

Output shows up on XBMC screen EXACTLY AS EXPECTED.



INCOMING CALLS do not show up as expected. SPA941 telephones display CID, XBMC shows nothing.
 
Yes. I already answered that question (twice).

You did not specified if you had it with the checkbox checked. Now it's clear.


Could you look in the different logs in var/log/httpd/ to look at the different requests and possibly error with the two following scenarii:

- the debug scenario (check all cid, number, debug)

- the http line discussed previously
 
There is a lot of this in the error log

Code:
[Thu Nov 05 20:38:30 2009] [error] [client 10.10.10.10] PHP Notice:  Use of undefined constant username - assumed 'username' in /var/www/html/admin/modules/superfecta/bin/source-AsteriDex.php on line 18, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:30 2009] [error] [client 10.10.10.10] PHP Notice:  Use of undefined constant password - assumed 'password' in /var/www/html/admin/modules/superfecta/bin/source-AsteriDex.php on line 21, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:34 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Asterisk_Phonebook in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:34 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_White_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:34 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined variable: number_error in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 61, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:34 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined variable: number_error in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 136, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:35 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined offset:  1 in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 158, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:35 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Yellow_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:36 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Telco_Data in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:50 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Asterisk_Phonebook in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:50 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_White_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:50 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined variable: number_error in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 61, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:50 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined variable: number_error in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 136, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:51 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined offset:  1 in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 158, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:51 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Yellow_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:51 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Telco_Data in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:38:59 2009] [error] [client 10.10.10.10] File does not exist: /var/www/html/admin/images/logo.png, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:15 2009] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  Default_Asterisk_Phonebook in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239
[Thu Nov 05 20:39:29 2009] [error] [client 10.10.10.10] File does not exist: /var/www/html/admin/images/logo.png, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:30 2009] [error] [client 10.10.10.10] PHP Notice:  Use of undefined constant hostspec - assumed 'hostspec' in /var/www/html/admin/modules/superfecta/bin/source-AsteriDex.php on line 12, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:30 2009] [error] [client 10.10.10.10] PHP Notice:  Use of undefined constant username - assumed 'username' in /var/www/html/admin/modules/superfecta/bin/source-AsteriDex.php on line 18, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:30 2009] [error] [client 10.10.10.10] PHP Notice:  Use of undefined constant password - assumed 'password' in /var/www/html/admin/modules/superfecta/bin/source-AsteriDex.php on line 21, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:40 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Asterisk_Phonebook in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:40 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_White_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:40 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined variable: number_error in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 61, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:40 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined variable: number_error in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 136, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:40 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined offset:  1 in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 158, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:40 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Yellow_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 20:39:41 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Telco_Data in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
 
You did not specified if you had it with the checkbox checked. Now it's clear.


Could you look in the different logs in var/log/httpd/ to look at the different requests and possibly error with the two following scenarii:

- the debug scenario (check all cid, number, debug)

- the http line discussed previously

Is there an easy way to query the logs? I don't entirely know what I'm looking for.
 
Not finding much in there

Code:
192.168.0.102 - maint [31/Oct/2009:23:44:32 -0600] "GET /admin/modules/superfecta/bin/callerid.php?thenumber=1403??????? HTTP/1.1" 200 15 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:18 -0600] "GET /admin/config.php?type=setup&display=cidlookup HTTP/1.1" 200 16883 "http://pbx.mydomain.com:82/admin/config.php?display=did&extdisplay=17772891940%2F&extension=17772891940&cidnum=" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:18 -0600] "GET /admin/images/logo.png HTTP/1.1" 404 300 "http://pbx.mydomain.com:82/admin/config.php?type=setup&display=cidlookup" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:18 -0600] "GET /admin/images/ HTTP/1.1" 200 15567 "http://pbx.mydomain.com:82/admin/config.php?type=setup&display=cidlookup" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:20 -0600] "GET /admin/config.php?display=cidlookup&itemid=5 HTTP/1.1" 200 16951 "http://pbx.mydomain.com:82/admin/config.php?type=setup&display=cidlookup" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:20 -0600] "GET /admin/images/logo.png HTTP/1.1" 404 300 "http://pbx.mydomain.com:82/admin/config.php?display=cidlookup&itemid=5" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:20 -0600] "GET /admin/images/ HTTP/1.1" 200 15567 "http://pbx.mydomain.com:82/admin/config.php?display=cidlookup&itemid=5" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:28 -0600] "POST /admin/config.php?display=cidlookup&itemid=5 HTTP/1.1" 302 - "http://pbx.mydomain.com:82/admin/config.php?display=cidlookup&itemid=5" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:29 -0600] "GET /admin/config.php?display=cidlookup&itemid=5 HTTP/1.1" 200 21763 "http://pbx.mydomain.com:82/admin/config.php?display=cidlookup&itemid=5" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:29 -0600] "GET /admin/images/logo.png HTTP/1.1" 404 300 "http://pbx.mydomain.com:82/admin/config.php?display=cidlookup&itemid=5" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:29 -0600] "GET /admin/images/ HTTP/1.1" 200 15567 "http://pbx.mydomain.com:82/admin/config.php?display=cidlookup&itemid=5" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
10.10.10.10 - maint [31/Oct/2009:23:45:34 -0600] "POST /admin/config.php HTTP/1.1" 200 1078 "http://pbx.mydomain.com:82/admin/config.php?display=cidlookup&itemid=5" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
127.0.0.1 - maint [31/Oct/2009:23:45:52 -0600] "GET /admin/modules/superfecta/bin/callerid.php?thenumber=1403??????? HTTP/1.1" 200 15 "-" "asterisk-libcurl-agent/1.0"
 
I erased the logs and then ran a DEBUG

Code:
[Thu Nov 05 21:20:42 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Asterisk_Phonebook in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 21:20:42 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_White_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 21:20:42 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined variable: number_error in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 61, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 21:20:42 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined variable: number_error in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 136, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 21:20:43 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined offset:  1 in /var/www/html/admin/modules/superfecta/bin/source-White_Pages.php on line 158, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 21:20:43 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Yellow_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
[Thu Nov 05 21:20:43 2009] [error] [client 10.10.10.10] PHP Notice:  Undefined index:  Default_Telco_Data in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239, referer: http://pbx.mydomain.com:82/admin/config.php?display=superfecta&scheme=base_Default
 
When I call from my cell phone, this is EVERYTHING that shows up in the error log

Code:
[Thu Nov 05 21:23:30 2009] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  Default_Asterisk_Phonebook in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239
 
The weird part is that it only fails when processing an outside call, and that only XBMC fails, and the phones work.

Can you configure your http to run port 80 vs. 82 just for a test? Its about the only thing I can think of to explore at the moment.
 
Not working after all

I look at mu error logs every other day or so. I've seen that no index on line 239 as well.

I removed all of the older ways of getting this to work. That is when it stopped working.

I now get the same symptoms as above. Works fine in debug. But when some one calls nothing shows up in Boxee.

Which makes me ask this question: Are we sure it reaches the XBMC source? Superfecta is after al designed to stop after it finds the CID info.

O and my setup is using port 80.
 
I look at mu error logs every other day or so. I've seen that no index on line 239 as well.

I removed all of the older ways of getting this to work. That is when it stopped working.

I now get the same symptoms as above. Works fine in debug. But when some one calls nothing shows up in Boxee.

Which makes me ask this question: Are we sure it reaches the XBMC source? Superfecta is after al designed to stop after it finds the CID info.

O and my setup is using port 80.

The log entries are only warngings (generally) - lets try and look past them for the time being.

What, if anything, do the two failing system have in common? If I could replicate the failure, we would have an easier time fixing it.
 
See post 20 it tells you exactly what I'm running. Let me know if you need more info.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top