[asterisk-users] identify the costumer
Danny Nicholas
danny at debsinc.com
Wed Feb 24 10:52:27 CST 2010
Why not set your clients up as "extensions" so your employee's call them
with an extension code instead of dialing a number? For example
Exten => 1001,1,Dial(DAHDI/g1/18005551212)
Exten => 1002,1,Dial(DAHDI/g1/18005551213)
Exten => 1003,1,Dial(DAHDI/g1/18005551214)
Or more efficiently
Exten => _1xxx,1,Set(custid=${DB(${EXTEN})})
Exten => _1xxx,n,Dial(DAHDI/g1/${custid})
Solution 2 could be modified to use MYSQL, I just use ASTDB bc I don't care
for MYSQL.
In users.conf, set up the client companies as users like
[1001]
Username=abc widgets
[1002]
Username=at&t
[1003]
Username=IBM
Just a thought
Danny Nicholas
--
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Douglas Pasqua
Sent: Wednesday, February 24, 2010 10:36 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] identify the costumer
Hi People,
I work in a company that are using asterisk as pbx.
I need a way to identify what client my employees are calling. For example:
- For each call that an employee of my company make to a customer, must
identify the client name in the CDR table.
- Is there a way of my employee enter a code to identify the client and then
enter a phone number to make the call? I would like to identify the
customer's name in the table
CDR.
Thanks,
Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100224/0eabcfdd/attachment.htm
More information about the asterisk-users
mailing list