I don't think using database is the solution for prepending a shortname to the cidname based on the dialed incoming extension The cidname isn't static...
> You probably want to use 'database put' for changing incoming CID > http://voip-info.org/tiki-index.php?page=database%20put > *CLI> database put cidname 1112223333 "test user" > Updated database successfully > *CLI> database show cidname > /cidname/1112223333 : test user > so now when someone calls from 111.222.3333, it will change the CID info > to 'test user' > > On Tue, 2005-09-13 at 07:46, [EMAIL PROTECTED] wrote: > > Hi all, > > > > I tried to set the calleridname of an incoming call to get different > > incoming labels displayed for different incoming numbers. > > > > This does work for hidden number-calls so I can set the displayed CIDName > > on my cisco7960 from "CID withheld" to "abc CID withheld" > > If the incoming CID isn't hidden it works to use SetCallerID but not to > > change only the CIDName with SetCIDName. > > At least it's not displayed on my cisco7960 with chan_sccp > > > > any suggestions what I've could have done wrong ? _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
