Re: [asterisk-users] Contact lookup

2009-02-05 Thread Ex Vito
On Thu, Feb 5, 2009 at 7:22 AM, Geoff Lane ge...@gjctech.co.uk wrote: The nice thing about that is that if I use MySQL I can run the management application on another machine, and so don't need to run a web server on the Asterisk box. However, I wonder whether the overhead necessary to run

Re: [asterisk-users] Contact lookup

2009-02-04 Thread Geoff Lane
On Wednesday, February 4, 2009, D Tucny wrote: I use a slight variant of this... exten = s,n,Set(CALLERID(name)=${IF(${ISNULL(${DB(cidname/${CALLERID(num)})})}?Unknown:${DB(cidname/${CALLERID(num)})})}) exten = s,n,NoOp(Caller ID name mapped to ${CALLERID(name)}) Basically the same as

Re: [asterisk-users] Contact lookup

2009-02-04 Thread Ex Vito
For a simple (but flexible) case I would consider ODBC + func_odbc. Here is the idea (in case you aren't aware of how it goes...) - Make a DB available (your choice as long as it is accessible via ODBC) - Create table in it with your contacts (say columns number and name, maybe more) -

Re: [asterisk-users] Contact lookup

2009-02-04 Thread Geoff Lane
On Wednesday, February 4, 2009, Ex Vito wrote: For a simple (but flexible) case I would consider ODBC + func_odbc. Here is the idea (in case you aren't aware of how it goes...) [... snip ...] It may be a bit more work than using the Ast DB or other means, but it has the advantage

[asterisk-users] Contact lookup

2009-02-03 Thread Geoff Lane
Hi All, Asterisk 1.4.12 on CentOS 5 I'd like to be able to look up each incoming CLI to retrieve an associated name, if available, and then pass that to the extensions so that they can see both the name and number of the caller. I'm not after LDAP or anything else maintained externally, just a

Re: [asterisk-users] Contact lookup

2009-02-03 Thread Danny Nicholas
shows as IM. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Geoff Lane Sent: Tuesday, February 03, 2009 10:05 AM To: Asterisk Users Subject: [asterisk-users] Contact lookup Hi All, Asterisk 1.4.12 on CentOS 5

Re: [asterisk-users] Contact lookup

2009-02-03 Thread Gordon Henderson
On Tue, 3 Feb 2009, Geoff Lane wrote: Hi All, Asterisk 1.4.12 on CentOS 5 I'd like to be able to look up each incoming CLI to retrieve an associated name, if available, and then pass that to the extensions so that they can see both the name and number of the caller. I'm not after LDAP or

Re: [asterisk-users] Contact lookup

2009-02-03 Thread OCG Technical Support
: February 3, 2009 11:51 AM To: Asterisk Users List Subject: Re: [asterisk-users] Contact lookup On Tue, 3 Feb 2009, Geoff Lane wrote: Hi All, Asterisk 1.4.12 on CentOS 5 I'd like to be able to look up each incoming CLI to retrieve an associated name, if available, and then pass

Re: [asterisk-users] Contact lookup

2009-02-03 Thread D Tucny
2009/2/4 Gordon Henderson gordon+aster...@drogon.netgordon%2baster...@drogon.net On Tue, 3 Feb 2009, Geoff Lane wrote: Hi All, Asterisk 1.4.12 on CentOS 5 I'd like to be able to look up each incoming CLI to retrieve an associated name, if available, and then pass that to the