Vincent, I do something similar to what you're doing. However, I use the CID number as the astdb family, allowing me to assign multiple attributes as the keys. It requires some maintenance, so I also wrote a php script for the management. You can find it here: http://voip-info.org/wiki/view/Web+based+Asterisk+Database+maintenance
Family: 206-456-7890 Privilige: 1 Family: 206-456-7890 Music: jazz Family: 206-456-7890 Recording: No By inverting the relationship, I found it easier to focus on the source of the call and the treatments I want to apply. I can also wipe out entries by family name and remove all attributes in one operation using database deltree. On 11/25/06, Time Bandit <[EMAIL PROTECTED]> wrote:
> I use some custom scripts to do database lookups and rewrite CallerID > information. Everything works fine with regard to the CID name, however > my Cisco 7960 and Linksys SPA-942 phones do not display the calling > number. Instead, they display the called number. This makes the phone's > call return feature not work. The calling number and name are both > properly displayed on all of the softphone clients that I've tried. > > Here's the format I'm using to set the CallerID. > > SET CALLERID "JONES DARYL A"<6508701826> If you're using Asterisk 1.2, see this page : http://www.voip-info.org/wiki/view/Setting+Callerid hth _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
