url POP with DID

Hi,

I'm just starting to evaluate the product. One feature we desperately need is to have a URL popped with both the caller ID and the dialed number (DID) on incoming calls.

Is this possible?

The other related question, when would the URL pop happen, on ring?

thanks!

- phil

Comments

  • Hello,

    To have extra information on popups you will need to modify the callerid name. FreePBX has the option to set a CID prefix on routes, you could use that.

    FOP2 supports popup on ringing and on agentconnect. The first works for every call, the 2nd only for queue delivered calls where you also need to set eventwhencalled=yes in the queue configuration.

    The agentconnect event includes also the call uniqueid as a parameter, you get them via HTTP GET in checkdir.php

    Best regards,
  • Got it working, thanks! Did take a bit of playing with.

    I wanted pop on connect, and that works great. I did try pop on ring, but then the page pops every ring. There should be something that sets a hidden field I guess so that the web page only pops on the first ring.

    The CID prefix for the queue solution was a nice work around idea btw. If multiple DID's could get routed to the same queue, this wouldn't work so well though. Lucky for us, we are configuring things so that there will be a 1:1 relationship between each queue and a DID.

    thanks again!
  • Hmm, I don't see my previous reply, but I'm sure it will appear shortly.

    Anyway, it does look like I may have an issue with setting the CID prefix in a queue to the DID.

    As I mentioned, the web page pop feature needs to have the CID and the DID in order to pull up the right records. So, that's a requirement of the system that can't be changed.

    Since I'm just testing, I only have 1 queue and 1 DID. So, adding the DID to the CID prefix was a good work around for this.

    But now imagine about 20 to 100 DID's. I can't really create a separate queue for each one and also have our agents log in and out of all of them manually.

    And if each of my inbound routes go to the same queue, the work around you suggest won't work anymore.

    So, maybe if there were a way to login to all the queues simultaneously, that could work.

    But it would be a lot simpler if I could get whatever the DID really is and only have one queue. Would it be possible to get the information from the database and then add a function to checkdir.php to get that information?

    ...any other advice?
  • Hi,

    I am sorry you did not see your posts right away. I was tired of spam so I had to enable moderation. Now, back to your questions, I do not understand why it won't work for you.

    You can set a CID prefix on an inbound route, you can create a separate inbound route for each DID you have, so each one will put its own CID prefix, and all those routes can be sent to just one queue?
  • Excellent! I only noticed the CID prefix in the Queue, not in the Inbound Route. That I believe will do the trick =)

    Thanks again Nicolás!
Sign In or Register to comment.