[asterisk-users] Re: Rewriting caller ID from database?

Michelle Dupuis support at ocg.ca
Sat Nov 25 05:52:11 MST 2006


Anselm:

Try using smartCID (www.generationd.com).  You'll get the benefit of ranges
of numbers mapping to single ID's (good for corporate blocks), action field
for blocking/accepting calls, etc).  

MD

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anselm Martin
Hoffmeister
Sent: Friday, November 24, 2006 4:46 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Re: Rewriting caller ID from database?

Am Freitag, den 24.11.2006, 22:22 +0100 schrieb Vincent Delporte:
> At 22:07 22/11/2006 -0700, Marco Mouta wrote:
> >You can do it using AstDB, just load the database with callerid names and

> >numbers and then include a lookup on database in all incoming calls, so 
> >you can override whatever you wanted:)
> 
> Thanks everyone. Indeed, it seems like using the embedded BerkeleyDB-based

> AstDB is good enough for what I'm trying to do. However, asterisk barfs on

> the following script that I used to import data:
> 
> #/bin/bash
> asterisk -rx "database put cidname 1234567 'Me - cellular'"
> asterisk -rx "database put cidname 1234567 'Me - home'"
> etc.

Do try 
asterisk -rx "database put cidname 12345676 \"Me - cellular\""
or 
asterisk -rx 'database put cidname 3871263 "Me - home"'

These quotations seem to work.

Hth
Anselm

_______________________________________________
--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




More information about the asterisk-users mailing list