Patch active conversation to update Outbound ANI

I am attempting to use the platform API to patch an active conversation in order to set/update the ANI (caller id) that will be presented when the call is subsequently sent outbound from an architect flow via 'Transfer To Number'. The use case is for 911 compliance when a roaming associate without a DID dials 911. (BYOC) We are capturing the 911 call via site number plan and rerouting it to an architect flow. In this flow I would like to set the ANI / Caller ID via data action before routing it back out to the PSAP.

The update conversation participants API is what seemed the most appropriate:
/api/v2/conversations/calls/{conversationId}/participants/
Sample Body:
{
"ani": "tel:+8675309"
}

I am doing this for the "purpose": "ivr" participant in the call and I am getting a 202 response. When the call goes outbound it is using the mask assigned on the trunk and it does not appear my Patch had any effect. (The trunk is set to prioritize as follows: Call Source > Site > Trunk)

Am I going about this in the right way? Is this possible? Any other thoughts or ideas would be greatly appreciated.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.