checkdir.php - get destination number?

Hi everyone,

This is my first question on this forum.

I've managed to get a custom popup working, by tweaking checkdir.php. I make a popup window appear with information about the customer calling by looking at the $clidnum variable.

Now, is it possible to get the destination number? I'd need to get the number the customer dialed in order to show distinct information at the popup.

TIA.

Gonzalo

Comments

  • You can modify the dialplan and set the callerid name to be the destination number, that way you will get it in checkdir.php/popup directly. you can use the cid name prefix in FreePBX for that too.

    Best regards,
  • That did the trick! Thanks a lot.

    Regards, Gonzalo
Sign In or Register to comment.