Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Convert Scripter.Customer Formatted Number to 10 digit phone number

    Posted 11-19-2024 13:57
    No replies, thread closed.

    In a Script, how can I extract the last 10 digits in the Scripter.Customer Formatted Number?


    #Outbound

    ------------------------------
    Daniel White
    Sr. Software Engineer
    ------------------------------


  • 2.  RE: Convert Scripter.Customer Formatted Number to 10 digit phone number
    Best Answer

    Posted 11-19-2024 15:26
    No replies, thread closed.

    I would do this in the IVR and then pass to the script. Use Right(Call.ani, 10).   

    If this is an outbound campaign, then just place the 10 digits in its own column for use in the script. 



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: Convert Scripter.Customer Formatted Number to 10 digit phone number

    Posted 11-19-2024 15:35
    No replies, thread closed.

    I needed to do it for a preview campaign and found the answer under another topic.  Setting a dynamic string variable with slice({{Scripter.Customer Formatted Number}},2) then setting variables based on it gives me what I need.  Thank you though!  



    ------------------------------
    Daniel White
    Sr. Software Engineer
    ------------------------------