[asterisk-users] Caller ID replacement

David Ruggles david at safedatausa.com
Thu Feb 12 11:52:45 CST 2009


Some googling lead me to this:
http://hans.fugal.net/blog/tag/astdb

Which looks like it has an answer.

Thanks all!

Thanks,

David Ruggles
CCNA MCSE (NT) CNA A+
Network Engineer	Safe Data, Inc.
(910) 285-7200	david at safedatausa.com



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of David Ruggles
Sent: Thursday, February 12, 2009 12:24 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Caller ID replacement


Could you give me an example of how this would look in the dialplan?

Thanks,

David Ruggles
CCNA MCSE (NT) CNA A+
Network Engineer	Safe Data, Inc.
(910) 285-7200	david at safedatausa.com



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matthew
Nicholson
Sent: Thursday, February 12, 2009 11:48 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Caller ID replacement


On Thu, 2009-02-12 at 11:27 -0500, David Ruggles wrote:
> I'm working on building a pbx that will allow us to use our cellphones as
> extensions (to some extent)
> 
> The dialout is working fine. What I would like to do is have an inbound
> cellphone call appear as if it were an extension. So right now if I call
in
> from cell #9995551212 the caller id is 9995551212 but if I dial extension
> 30013 it will call cell #9995551212. I would like to change the caller id
so
> 9995551212 is changed to 30013 on the inbound call. Doing one is simple
> enough, but I would like have an easy (more or less) way of setting up
some
> global variables that link the cell phone #'s and extensions and have this
> done somewhat automagically.

I would implement this using the a database (astdb or odbc) containing
the mapping from cell number to extension.  Then for each call that may
need callerid modification, you can check the database for the proper
mapping.  With this method it is also easy to add new mappings.

-- 
Matthew Nicholson
Digium, Inc. | Software Developer


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.233 / Virus Database: 270.10.18/1936 - Release Date: 02/05/09
11:34:00


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.233 / Virus Database: 270.10.18/1936 - Release Date: 02/05/09
11:34:00




More information about the asterisk-users mailing list