Author Topic: queueDial.agi and outbound caller ID  (Read 3210 times)

Vide

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
    • Email
queueDial.agi and outbound caller ID
« on: November 09, 2007, 14:00:45 »
Forewords:
we are running a freepbx installation where we configured every agent that needs outcoming call to have an own caller id displayed on customer's phones. I did this by configuring the "Outbound CID" in the extensions configuration page. Now, this works perfectly with normal outbound calls.

Enter queueDial.agi: I've configured it to work correctly (following queuemetrics website instructions) and it works as expected (calls are reflected in statistics) but now the Oubound CID field is completely ignored, and everyone is appearing with same, default number. What do I have to touch to fix this?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2993
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: queueDial.agi and outbound caller ID
« Reply #1 on: November 09, 2007, 17:05:05 »
The queueDial.agi does run a Dial() command so a new channel is created. My suggestion is to use a new context for it to place calls, so that you have queueDial connect to Local/num@rewriteClid, and you trap the call in rewriteClid, set the new clid and actually dial out.