how can I check a phone number?

Discussion in 'Call Flow Designer' started by luca pellegrini, Oct 2, 2017.

Thread Status:
Not open for further replies.
  1. luca pellegrini

    Joined:
    Sep 14, 2017
    Messages:
    11
    Likes Received:
    0
    I should check the phone number to know if there are more than 9 digits or less
     

    Attached Files:

  2. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,361
    Likes Received:
    109
    Hi @luca pellegrini,

    Do you mean the caller ID number? In that case, in order to check if the length is 9, you can use the following expression:
    EQUAL(LEN(session.ani),9)

    If you want to check if it has less than 9:
    LESS_THAN(LEN(session.ani),9)

    Kind regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. luca pellegrini

    Joined:
    Sep 14, 2017
    Messages:
    11
    Likes Received:
    0
Thread Status:
Not open for further replies.