Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  SMS phone number

    Posted 06-05-2025 19:11

    wu_edward | 2021-07-20 21:34:22 UTC | #1

    Hi,

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

    Thanks, Ed


    Jerome.Saint-Marc | 2021-07-21 11:53:48 UTC | #2

    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,


    system | 2021-08-21 11:53:51 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 11525