Author Topic: CallerID absed Queues / Stats  (Read 3712 times)

zefrench

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
CallerID absed Queues / Stats
« on: March 20, 2007, 15:31:08 »
I have one General Queue defined in Asterisk, yet various customers of ours use that number to dial in.

I would like to have queuemetric present stats based on a customer, which in turn would be based a set range of callerids numbers.

For example, one customer of ours, has 8 different numbers their calls can show up on our callerid.  ANother customer has 5.

Thus I would like to see: call info for customer1 or call info for customer2

Regards,

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: CallerID absed Queues / Stats
« Reply #1 on: March 21, 2007, 20:33:25 »
The simplest thing to do is to use different queues for different customers, though you may have the same set of agents working on all queues at once. This will make the separation trivial.

The second simplest thing to do is:
- rewrite the caller-id of the incoming traffic to prepend a code that tells either the customer or the DID, like from "(555)5551234" to "01-(555)5551234", where 01 is the customer or the incoming DID
- use QM's Area analysis to break down calls based on the first two digits of the caller-id.

See also: http://queuemetrics.com/faq.jsp#faq-027-did_tracking

zefrench

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: CallerID absed Queues / Stats
« Reply #2 on: April 02, 2007, 19:47:05 »
Woudl it be possible to show a quick dial plan example of how to prefix a callerid?

From example: if a call comes in under callerid (num) = 555-555-1212 rewrite it as  91-555-555-1212

Thanks again

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: CallerID absed Queues / Stats
« Reply #3 on: April 03, 2007, 08:18:26 »
This should do the trick of adding "91" to your callerid:

Code: [Select]
exten => ....
exten => _X.,1,Set(CALLERID(num)="91-${CALLERID(num)}")
exten => ....