(Cross posted response from http://forum.xda-developers.com/showthread.php?t=494433&page=17)
Dear Netlon,
i've tried CALLERID already which was OK.
I want to use NetcallerID.
I tried to figure out your steps but i cannot perform any search still !!!!
I've made this :
<?xml version="1.0" encoding="utf-8"?>
<gateway>
<url>http://www.hivesnl.110mb.com/query/?provider=google&number=</url>
<auth type="NONE"/>
<name>Google Phone Provider</name>
<location code="NL">+31</location>
</gateway>I made my own hosting page and created a folder called query \ discovery.xml
This is close. It looks like there is confusion around the use of this XML file. This file is for the netcallerid client and provides the name of the new provider (in the <name> element) and the url (<url> element) which is used when a new call comes in. So, for this case, a new call comes in with +31 international code. The client would then pass the number to the <url> in this discovery xml and receive the response in vCard format and display it in the client.
So, to continue this and make it simple, it could look like:
<?xml version="1.0" encoding="utf-8"?>
<gateway>
<url>http://www.hivesnl.110mb.com/nummerzoekerquery.php?number=</url>
<auth type="NONE"/>
<name>NL: nummerzoeker.nl</name>
<location code="NL">+31</location>
</gateway>
This is the first step.
I cannot understand which script it uses because it makes no sense that the configuration file and discovery are not having the same info. Because how does the configuration file combine the discovery.xml? What strings are responsible to make it work?
You mean the configuration file on the client? You shouldn't have to touch that. Use the configuration menu and call providers in the netcallerid client to add the new holland provider. The client will consume that discovery.xml and update the local configuration.xml with the name, url, etc from the discovery xml you created above.
der" info="Script Provider for detelefoongids.nl" url="" user="" password=""/>
</Location>
<Location country="Sweden" countryCode="46">
</Location>
</Configuration>
Yeah, again, shouldn't touch this file. In the netcallerid configuration GUI you should input the discovery xml to add the new XML file (e.g, "http://http://www.hivesnl.110mb.com/nummerzoekerdiscovery.xml" that you created above. After doing that, you should get a response that the new provider is added and select NL (the location code) as your default location - "Set my world location."
After this, all new calls will then look to "http://www.hivesnl.110mb.com/nummerzoekerquery.php?number=" to get the caller information back in vcard format. For example, if you get a call from +312345678 then the netcallerid client will send a http request "http://www.hivesnl.110mb.com/nummerzoekerquery.php?number=312345678" and that's the second step, creating that php script to go to the nummerzoekerquery site, take the number, and return the results in vCard format. You can use the sample PHP from the HOWTO as a guide to parse the response, and if your still having trouble, let me know and I can help.
Please help me , i hope that I can make HOLLAND happy with your help.
What have I done wrong?
I don't understand this part aswell... It's totally not clear to me.
Create the Query ResponseP.S i tried to logon to your site, but it doesn't let me because i didn't received a password. Now i'm not sure if somebody already made the dutch entry
I've got quite a few requests for Holland and your doing a big help in making it happen. Anything I can do to help don't hesitate to let me know.
-Kevin