Hi Duane,
I am guessing that you mean that you have multiple triggers for an Application and the agent wants to know which trigger the call came from (the name of the trigger rather than number)?
I created this script for you, you can try. You can use the "Get Call Contact Info" to get the called number (trigger number) and then use some IF statements. However, I have used the "Get Trigger Info" Step, which lets us obtain the DN of the trigger. I have used this so that the called number is not changed in a complex call flow and so that we can get the exact DN of the trigger.
Once this is done, use an IF statement (if name==4000, set name==Site 1). Then use the "Set Enterprise Call Info" to set this name as an Enterprise Data. Ensure that you add the Enterprise Variable to the Layout List on the CDA.
I have attached the script, and you can see the screenshot of CAD. If the trigger dialled into is 4000, then i display: "Site 1"
![](file:///C:/Users/akramadh/Documents/MyConnectFiles/ScreenCapture/akramadh@cisco.com/akramadh@cisco.com_20120825_083240.png)
![](http://supportforums.cisco.com/sites/default/files/legacy/9/7/5/99579-akramadh%40cisco.com_20120825_083240.png)
Do let me know in case you have any queries.
Cheers!
Regards,
Abhiram Kramadhati