I HAVE A DREAM NEW CallerID Superfecta 2.2.4: THE MODULE

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
I know a little of php by T&E (trial & error) and if there is a template or a generic file for adding a source for a lookup service (voip.ms will look up the number for you for .008/inquiry). I have 9 numbers with them and on their CDR records I get actual names for the lookups but my PiaF uses Superfecta on all incoming routs which override the voip.ms results and is more generic if at all correct.

I would be willing to attempt (or if someone else wants) to take a stab at adding them to the superfecta.

I know, I know, I could just turn off CIDS for the Voip.ms dids but having a uniformity would be nice too.

Thanks

Have you tried the Trunk_Provided data source in Superfecta? It may resolve your issue by allowing you to use and keep the trunk provided CID.

In order for a data source to be written, it has to be available (currently) via http call to an online source. Does the Voip.MS service have such a user interface? I dont think lookups can be performed externally with their service - but Im not certain of that.
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
Or use the Asterisk_Phonebook data source and put them in there.

Asteridex comes with some pretty cool other features as well :rolleyes:. Definately worth a look.
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
I actually never saw the Trunk Provided selection (blind? .. Maybe) anyways I'll have to try this later, or get someone not in my superfecta cache to call me.

btw is there a way to clear the Superfecta cache (in mysql? somewhere or where can I look.

Asteridex is fine if I know the people calling me, but for what I'm working on that is not always the case.

Thanks to you both.
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
Try Setting the Superfecta Cache to '0' (ZERO) days. I think that clears it.
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
Thanks TShif, it is worded as Cache Timeout so I wasn't sure if that is minutes, hours, days.

But I did set it to zero while I am still testing stuff. But if it is minutes -- what good is a cache for 2hrs going to do - so logic to me is days (120 days is 4 months which is probably more useful)

Thanks again
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
New Superfecta Data Source for the Netherlands

New Superfecta Data Source for the Netherlands
:cheers2: A Big thanks to dev site participant Zorka for providing us with a new data source, this time for the Netherlands. This new data source just got a clean bill of health being tested by lgaetz (lgaetz is behind much of the ongoing work of getting user contributions into the Superfecta - applause all around for lgaetz please!)

source-Netherlands.php

Has been added and is NOW AVAILABLE within the Superfecta modules' built in data source update function. Be sure and check it out!

-tshif
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
New Superfecta Send-Only Data Source Available

New Superfecta Send-Only Data Source for General URL use
:cheers2: This send-only data source joines others (like send_to_winunciator, send_to_YAK, and send_to_XBMC, etc) in the live update repository - and makes it easy for you to extract CID / CNAM information from your inbound calls and send them to any URL you desire.

The typical way of using this data source is to create a web page somewhere that can process the information, and then perform some desired task with it. This data source is designed for the more technical, development oriented user who can create the destination web page.

source-Send_to_URL.php

Has been added and is NOW AVAILABLE within the Superfecta modules' built in data source update function.
If you need a generic send-only data source, give this new one a try!

-tshif
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
New Superfecta Data Source for Theaddressbook

New Superfecta Data Source for Theaddressbook
:cheers2: Thanks for the coding and testing efforts of lgaetz, the new datasource source-Theaddressbook.php (http://www.corvalis.net/address/) is now available for installation using the Caller ID Superfecta Module live update function.

TheAddressBook is a nifty little open source address book - its an older program but those that use it, swear by it.

source-Theaddressbook.php

Has been added and is NOW AVAILABLE within the Superfecta modules' built in data source update function.

If you need to integrate this oldie-but-goodie, give this data source a try!
-tshif
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
New Superfecta Data Source for www.118700.SE

New Superfecta Data Source for www.118700.SE
:cheers2: Thanks for the coding and testing efforts of nixi, the new datasource Source-www_118700_SE (http://www.118700.se) is now available for installation using the Caller ID Superfecta Module live update function.
Source-www_118700_SE is a data source for Sweedish numbers. If your inbound calls come from this area, give this data source a try!

Source-www_118700_SE

Has been added and is NOW AVAILABLE within the Superfecta modules' built in data source update function.
 
Joined
Jun 29, 2009
Messages
258
Reaction score
0
Weird issue trying to install Superfecta under Elastix

Hi,

I'm about at my wit's end tonight because I'm trying to help set up a new Elastix 2.0.3 installation and am trying to get Caller ID Superfecta to work. For background I've already got it running on another Elastix box and am aware of the standard modification that must be made to accommodate Elastix, however on this new box it's not helping, and I'm getting no indication from the CLI, etc. of any problem. But there is one weird thing that shows up in the file /etc/httpd/logs/error_log:

[Thu Dec 16 21:25:19 2010] [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 Dec 16 21:25:19 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Addresses in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239
[Thu Dec 16 21:25:20 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_White_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239
[Thu Dec 16 21:25:21 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Yellow_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239
[Thu Dec 16 21:25:21 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_CanPagesCa in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239
[Thu Dec 16 21:25:21 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Any_Who in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239
[Thu Dec 16 21:25:22 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Google in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239
[Thu Dec 16 21:25:22 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Telco_Data in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 239
[Thu Dec 16 21:25:22 2010] [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 309
[Thu Dec 16 21:25:22 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Addresses in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 309
[Thu Dec 16 21:25:22 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_White_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 309
[Thu Dec 16 21:25:22 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Yellow_Pages in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 309
[Thu Dec 16 21:25:22 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_CanPagesCa in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 309
[Thu Dec 16 21:25:22 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Any_Who in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 309
[Thu Dec 16 21:25:22 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Google in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 309
[Thu Dec 16 21:25:22 2010] [error] [client 127.0.0.1] PHP Notice: Undefined index: Default_Telco_Data in /var/www/html/admin/modules/superfecta/bin/callerid.php on line 309

There's no web browser on the new box but if I run this from a command prompt:

wget http://127.0.0.1/admin/modules/superfecta/bin/callerid.php?thenumber=1234567890

but using a valid number at the end, I get a file in the directory with the name in it, so that part appears to be working. I've checked Caller ID lookup sources and everything seems good in there. I have Caller ID Superfecta enabled in the inbound routes. I've read a whole bunch of message threads on Caller ID Superfecta and Elastix and have tried some suggestions I've seen there. What mystifies me is that looking in Caller ID lookup sources, it LOOKS like it should be retrieving the same data as when I do it manually from the command line. I have tried uninstalling and reinstalling the module.

The FreePBX version is 2.8, the Asterisk version is 1.8.1 (we upgraded it) and everything is working great except for Superfecta, and I've been working on this for far longer than anyone reasonably would. I need to take a break and get away from it for a while, but wondered if those error messages in the log would give you any clue as to what is happening. Since it does work from the command prompt, I didn't know if those messages really mattered, but the reason I didn't think so is because we get the exact same error messages on the other server (they are identical except for the time) and it works great.

Are there any diagnostics I can run that might help pinpoint the problem?
 
Joined
Jun 29, 2009
Messages
258
Reaction score
0
I figured out the problem, though at first I wasn't sure how to fix it. When I went into my Asterisk 1.8.1 source directory and ran make menuselect and went to Dialplan Functions, it showed this:

XXX func_curl

But the only dependency it showed was /usr/bin/curl and that was definitely on the system. I tried installing it again and yum reported:

Package curl-7.15.5-9.el5.i386 already installed and latest version
Nothing to do

When I ran ./configure it showed this:

checking for curl... /usr/bin/curl

So it seemed it was finding curl, but then further down it said:

checking for curl-config... no
checking whether libcurl is usable... no

I think that in one of the MANY documents I'd read while trying to fix this, I read that Superfecta uses curl, so thought that might be the issue. A bit of Googling and I did three yum installs:

yum install libcurl-devel
yum install curl-devel
yum install libxml2-devel

That at least made the XXX go away in make menuselect. So then I ran make... and make install… and rebooted...

AND IT WORKS!!!

So for anyone who has installed Elastix 2.0.3 and then upgraded Asterisk to 1.8+, or probably even if you stick with the version of Asterisk in the package, make sure you do the three yum installs above, then the ./configure, make menuselect, make, make install routine!

You might want to mention the above three packages in your Elastix notes, so that any other version 2.0.3 users won't spend hours barking up the wrong tree like I did!
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
Updated Superfecta Data Source for Source-Lokaldelen_SE

Updated Superfecta Data Source for Source-Lokaldelen_SE
:cheers2: Thanks for the coding and testing efforts of nixi, the newly updated datasource Source-Lokaldelen_SE (http://www.lokaldelen.se) is now available for installation using the Caller ID Superfecta Module live update function.

This is an recommended upgrade.

Fixes: Issue #392

Source-Lokaldelen_SE

Has been updated and is NOW AVAILABLE within the Superfecta modules' built in data source update function.
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
Data source Source Eniro_SE.php has been updated

Updated Superfecta Data Source for Source Eniro_SE
:cheers2: Thanks to contributing developer nixi, the Source Eniro_SE .php data source has been upgraded and is now released and available in the Live Update repository.

This is an recommended upgrade.

Fixes: Issue #391

Source Eniro_SE

Has been updated and is NOW AVAILABLE within the Superfecta modules' built in data source update function.


 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
Data source Source Source Vemringde_SE.php has been updated

Updated Superfecta Data Source for Source Vemringde_SE
:cheers2: Thanks to contributing developer nixi, the Source-Vemringde_SE.php data source has been upgraded and is now released and available in the Live Update repository.

This is an recommended upgrade.

Fixes: Issue #390 Source Vemringde_SE requires an Api key

Source Vemringde_SE

Has been updated and is NOW AVAILABLE within the Superfecta modules' built in data source update function.
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
Hello all,

I've created a source that allows you to query your Google contacts and I thought I would share it.

Are you still working on this? This looks like it could be very interesting - we might want to see it added to the Superfecta project.

Is anyone using google contacts? Would this be a good data source to add?
 

Members online

No members online now.

Forum statistics

Threads
25,770
Messages
167,441
Members
19,181
Latest member
ejrubin
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.
Top