Can I find the dialed number if connection plar is used

Version 1
    This document was generated from CDN thread

    Created by: Keith Haugen on 04-07-2012 05:33:21 PM
    I have a voice-port set up with a connection plar number to associate it with a hunt group (e.g., voice-port 0/0/0;connection plar 100 and voice hunt-group 1 parallel;pilot 100;list 1,2,3). I also have an inbound dial-peer (voice dial-peer 1;service inbound_call;port 0/0/0;direct-inward-dial).  INside the inbound_call.tcl application I read the DNIS (infotag get leg_dnis) in the ev_setup_indication handler, but by then it is set to 100.  Is there anyway I can get the actual dialed inbound number in my TCL IVR script?

    Subject: RE: Can I find the dialed number if connection plar is used
    Replied by: Raghavendra Gutty Veeranagappa on 05-07-2012 03:30:08 AM
    Hi Keith,

    The string you configure for connection plar command is used as the called number for all incoming calls over this connection.

    Thanks,
    Raghavendra