Phone extension

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Russ
    Senior Member
    • Feb 2022
    • 426

    Phone extension

    Hey guys, so previously, all extensions where sitting just fine with a comma "," currently we can't use it, phone number field does not allows it anymore.
    What is the proper way to store and then use (call) phone number with extension?
    123-312 1233 ext 9 as an example, thanks

  • Russ
    Senior Member
    • Feb 2022
    • 426

    #2
    Commas are being used forever to make a 1 second delay so if you need to wait 5 seconds and dial extension 9, you would do:
    123-312 1233,,,,,9​ and it works on our phones, twilio, etc

    Comment

    • Russ
      Senior Member
      • Feb 2022
      • 426

      #3
      Hey guys, so how do we properly store extensions?

      Comment

      • victor
        Active Community Member
        • Aug 2022
        • 731

        #4
        Have you tried using other allowed characters "-+_@:#()."​ instead of "," for this functionality? ​

        Comment

        • Russ
          Senior Member
          • Feb 2022
          • 426

          #5
          Originally posted by victor
          Have you tried using other allowed characters "-+_@:#()."​ instead of "," for this functionality? ​
          Hi, yes, I did, I tried "." error on calling


          "," is a standard and unfortunately we can't tell all the users to use another options

          Unless bring back "," or add a new field "ext" and Voip should be ok with extensions

          Comment

          • Vadym
            Super Moderator
            • Jun 2021
            • 346

            #6
            Hi Russ,

            The list of allowed values for the phoneNumber field can be reassigned in the following line:

            Comment

            • Russ
              Senior Member
              • Feb 2022
              • 426

              #7
              thanks!
              For anyone browsing this forum in the future, if you would like to add a comma, use this regex pattern:
              [0-9A-Za-z_@,:#\\+\\(\\)\\-\\. ]+

              This is how it might look like in your .json:
              "phoneNumberLoose": {
              "pattern": "[0-9A-Za-z_@,:#\\+\\(\\)\\-\\. ]+",
              "isSystem": true
              }​

              Comment

              Working...