About your question about the callee identifying the caller via the "header" information that the ANI is part of -- there is no header. The US telephone system only passes ANI and DNIS. The actual text information associated with an ANI is out of our control and in the hands of the carrier to which the IVR call is being made. In other words it's the callee's local carrier that uses the ANI to lookup information about who the caller was.
About your implementation of masking the caller ID, it appears to be correct as we have tested it through the following IVR code:
transfertest.php:
Code: Select all
<?php
header("Content-type: text/xml");
echo "<?xml version=\"1.0\"?>";
?>
<vxml version="2.0">
<form>
<transfer name="xfer" dest="tel:+1617XXXXXXX;ani=8009876543" bridge="true" connecttimeout="15s">
<prompt>
Transferring to 617-XXX-XXXX.
</prompt>
</transfer>
</form>
</vxml>
Regards,
Plum Support