Giter Club home page Giter Club logo

Comments (6)

psanders avatar psanders commented on June 1, 2024

@efraa

We need to make several updates to the API, CTL, and Web Application:

  • No change needed in the proto definition
  • Update API to enforce E.164
  • Remove ignoreE164Validation flag from the CallManager service
  • Update WebApp to enforce E.164
  • Update CTL to enforce E.164
  • Update API examples to include + sign

Related work at fix/normalizing-numbers-as-e164

Image

from fonoster.

psanders avatar psanders commented on June 1, 2024

Video explainer: https://www.loom.com/share/a9ff7d19810145ac84b07e420b5a4f98

from fonoster.

xquanluu avatar xquanluu commented on June 1, 2024

Hi @psanders

from your video, I started to contribute on this: Update API to enforce E.164 and Remove [ignoreE164Validation] flag from the CallManager service
I raised a PR link so we can coordinate together and you can help me to review sooner.

I start to take a look at Update WebApp to enforce E.164

from fonoster.

psanders avatar psanders commented on June 1, 2024

@efraa this is pretty close to done. We still need to validate the input for the ctl, but we can fix that next week.

from fonoster.

xquanluu avatar xquanluu commented on June 1, 2024

Hi @psanders
About the task Update CTL to enforce E.164, I see that with previous commit the CTL will validate the input from user and enforce E.164

Can you please help to identify what we need to do? Bellow is the result when I run the CTL:

git:(main) ✗ ./run numbers:create
This utility will help you create a new Fonoster Number
Press ^C at any time to quit.
(node:91743) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use node --trace-warnings ... to show where the warning was created)
? number in E.164 format (e.g. +16471234567) 414124
? service provider TX_DEV
? address of record sip:[email protected]
? ready? Yes
Creating Number 414124... done
› Error: 3 INVALID_ARGUMENT: e164Number field must be a valid e164 value.

from fonoster.

psanders avatar psanders commented on June 1, 2024

@xquanluu Got catch! I missed the fact that this is being validated by the backend.

We are all set here. Thanks.

from fonoster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.