checkdir.php - get destination number?

  1. 12 years ago

    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

  2. admin

    4 Jun 2012 Administrator

    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,

  3. That did the trick! Thanks a lot.

    Regards, Gonzalo

or Sign Up to reply!