[asterisk-users] Rewriting caller ID from database?
Hi Most of our customers have generic names like Hospital, so I need to rewrite their caller ID name by looking up the number in a database on the Asterisk server, and rewriting the name such as Reading Hospital so that we know who's calling. Any idea if this can be done with Asterisk, and how to do it? Thank you. ___ --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
Re: [asterisk-users] Rewriting caller ID from database?
Vincent Delporte wrote: Hi Most of our customers have generic names like Hospital, so I need to rewrite their caller ID name by looking up the number in a database on the Asterisk server, and rewriting the name such as Reading Hospital so that we know who's calling. Any idea if this can be done with Asterisk, and how to do it? Entries are stored in the internal database. Then at the incoming context I have: exten = _XX,n,Set(CALLERID(name)=${DB(CIDNAME/${CALLERIDNUM})}) exten = _XX,n,Set(CALLERID(number)=91${CALLERIDNUM}) Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ --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
Re: [asterisk-users] Rewriting caller ID from database?
Most of our customers have generic names like Hospital, so I need to rewrite their caller ID name by looking up the number in a database on the Asterisk server, and rewriting the name such as Reading Hospital so that we know who's calling. Any idea if this can be done with Asterisk, and how to do it? I made a simple PHP AGI that takes the phone number and query a MySQL table to find the name assigned to this number. I still need to make a web interface to enter/modify the list but phpMyAdmin do the job for now. If you want it, just let me know. ___ --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
Re: [asterisk-users] Rewriting caller ID from database?
I'm using my own lookup script, published on http://muware.com/asterisk It does use various web-services in attempting to find a name -- this obviously only works in the US environment. I maintain the incoming numbers using a very crude php-script, but phpMyAdmin works wonders. Vincent Delporte wrote: Hi Most of our customers have generic names like Hospital, so I need to rewrite their caller ID name by looking up the number in a database on the Asterisk server, and rewriting the name such as Reading Hospital so that we know who's calling. Any idea if this can be done with Asterisk, and how to do it? Thank you. ___ --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