SMS phone number

Hi,

In the incoming message flow, how do I find the phone number an SMS coming into?

Thanks,
Ed

Hello,

The ANI/CLI (number of the sender) and the DNIS (dialled/destination number) are provided as part of the Architect built-in variables.

ANI/CLI (number of the sender): Message.Message.senderAddress

DNIS (dialed/destination number): Message.Message.targetAddresses
Message.Message.targetAddresses is a Collection. So you can access the first element of the collection/list with GetAt(Message.Message.targetAddresses, 0)

Regards,

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