Hello When using LookupCIDName, Asterisk 1.4 says that it's deprecated, and we should use "${DB(cidname/${CALLERID(num)})}" instead, but I don't know how to use it: ;DEPRECATED exten => s,1,LookupCIDName ;ERROR exten => s,1,${DB(cidname/${CALLERID(num)})} I guess I should use this as a parameter to a function, but which one? Thank you.
On Thu, 25 Oct 2007 18:46:19 +0200, Vincent <vincent.delporte at bigfoot.com> wrote:>I guess I should use this as a parameter to a function, but which one?Never mind, I found how to use it: exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
Phil Reynolds
2007-Oct-29 10:31 UTC
[asterisk-users] What to use instead of LookupCIDName?
On Thu, Oct 25, 2007 at 07:13:52PM +0200, Vincent wrote:> On Thu, 25 Oct 2007 18:46:19 +0200, Vincent > <vincent.delporte at bigfoot.com> wrote: > >I guess I should use this as a parameter to a function, but which one? > > Never mind, I found how to use it: > > exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})Yes - not deprecated until 1.4 of course but it even works in 1.2, I have already moved over to it. -- Phil Reynolds o ____ mail: phil at tinsleyviaduct.com |L_ \ / Web: http://www.tinsleyviaduct.com/phil/ (_)- \/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95