DIGITAL: ANI and DNIS are provided on T1 and E1. Depending on the telephony protocol and what your Telco can provide you, they may or may not both be populated to the correct location.
<br>
<br>In ISDN, the fields in the "Wait for Call" step are both populated with the appropriate ANI/DNIS values.
<br>
<br>In Wink/robbed-bit signalling, you will usually receive both in the DNIS field. You would then need to use string copies to get the individual phone numbers, and assign them to their respective @DNIS and @ANI variables.)
<br>
<br>ANALOG: Your @ANI variable in the "Wait for Call" step will populate on Analog IF it is being provided on the lines connected to your analog card. (If, for example, your lines are provided from a PBX, it may not be passing the ANI along, even if the PBX itself is receiving it.)
<br>
<br>DNIS isn't provided in analog. However, you can, if you know which number is which, create an association of ports to phone numbers. You could, for example, set up you TeleFlow Application List and your application so that you pass in the phone number for the port as @P1. You could then set @DNIS = @P1.
|