A small AGI tool that looks up the phone number given as the first argument at tel.search.ch and tel.local.ch. If a name could be resolved by one of the services, CALLERID is set accordingly.
Any comments, bug reports or questions are always welcome.
Download
innoLookup-3.3.tar.gz v3.3, 25635 Bytes, MD5 3006baadeeda1f711d20014cc5b861be
Requirements
- libcurl
- libxml2
- cxxutils (v1.4.5 partially included and slightly modified)
Usage
CLI
./innoLookup 0449971727
Asterisk extensions.conf
exten => 0XXXXXXXXX,n,AGI(innoLookup|${CALLERID(num)})
References
Asterisk Gateway Interface (AGI)
www.voip-info.org/wiki-Asterisk+AGI
libcurl
curl.haxx.se/libcurl/
Copyright © 1996 - 2007 Daniel Stenberg, <daniel(at)haxx.se>
libxml2
xmlsoft.org
Copyright © 1998-2003 Daniel Veillard
cxxtools
www.tntnet.org/cxxtools.html
Copyright © 2003 Tommi Maekitalo
Copyright & License
Copyright © 2011 Innotronic Ingenieurbüro GmbH
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
www.gnu.org/licenses.