Re: [asterisk-users] Caller ID replacement
The hotdesking section of the asterisk book may also be of interest... d 2009/2/13 David Ruggles da...@safedatausa.com 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 EngineerSafe Data, Inc. (910) 285-7200 da...@safedatausa.com -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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 EngineerSafe Data, Inc. (910) 285-7200 da...@safedatausa.com -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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 ___ -- 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 ___ -- 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
[asterisk-users] Caller ID replacement
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. Any suggestions? Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network EngineerSafe Data, Inc. (910) 285-7200 da...@safedatausa.com ___ -- 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
Re: [asterisk-users] Caller ID replacement
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Ruggles wrote: global variables that link the cell phone #'s and extensions and have this done somewhat automagically. Load your cross-reference in AstDB and do the lookup that way. If the cell number exists in the database, replace the callerID with the extension number. If it doesn't exist then it must be from someone else so don't change the callerId. BK -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFJlFGwCFu3bIiwtTARAlRSAJ48FS53xS4u0eIeJ63VrZulPZxMMQCffFHw 7riqdRkR6vq5tGT9Z78FpiQ= =SuKH -END PGP SIGNATURE- ___ -- 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
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
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 EngineerSafe Data, Inc. (910) 285-7200 da...@safedatausa.com -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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
Re: [asterisk-users] Caller ID replacement
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 EngineerSafe Data, Inc. (910) 285-7200 da...@safedatausa.com -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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 EngineerSafe Data, Inc. (910) 285-7200 da...@safedatausa.com -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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 ___ -- 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