From 0c80eafcd431a82d6ae62acfc3d1e30f6b7f1bbb Mon Sep 17 00:00:00 2001 From: Poule Dodue <745437+pouledodue@users.noreply.github.com> Date: Tue, 18 Feb 2020 18:36:17 -0500 Subject: [PATCH] Quickstart Quickstart for those who know nothing about Flutter --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index 458a0090..06aa4cfc 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,37 @@ A dart-lang version of the SIP UA stack, ported from [JsSIP](https://github.com/ - [ ] Windows - [ ] Fuchsia +## Quickstart for Web platform +- [Install Flutter](https://flutter.dev/docs/get-started/install) +- Verify the install: +``` +flutter doctor +``` +- Run: +``` +flutter channel beta +flutter upgrade +flutter config --enable-web +git clone https://github.com/cloudwebrtc/dart-sip-ua.git +cd dart-sip-ua/example +flutter create . +flutter pub get +flutter run -d chrome +``` +Application should have loaded in Chrome. + +Register with SIP server: + +In the application, enter connexion settings by clicking the top-right hamburger menu, then click `Accounts` +- Click `Register` + - If registration is ok, it should say `Status: Registered` at the top + - If it fails to register, open Chrome Dev tools and looks for errors in the Javascript Console. + +Calling: +- Once registered, click the top-left `Back Arrow` to return to keypad. +- Enter a phone number +- Click the green phone icone + ## NOTE Thanks to the original authors of [JsSIP](https://github.com/versatica/JsSIP) for providing the JS version, which makes it possible to port the [dart-lang](https://dart.dev). - [José Luis Millán](https://github.com/jmillan)