AIMERICA
☰

Put your phone line inside your own web app

Allow your web app's address and see how a browser phone registers your AIMERICA line over a secure WebSocket.

Video tutorial, 1:07 · English captions · Download the video

Open Developer (owners and admins), tab Browser phone. Your web app's server mints a session for the person; the browser registers their line over the secure WebSocket and carries the audio itself. Under Allowed web addresses, type your app's address (scheme and host, no path) and press Add. A device password is for a browser softphone you run yourself: name the device and press Create (shown once).

In this video

Step by step

  1. 1

    A dialer in your own web page can register one of your lines and carry the audio itself, with nothing to install. Open Browser phone.

    Click Browser phone
  2. 2

    It rings with the desk phone and the app, and the first to answer takes the call. The guide has the code.

  3. 3

    Allowed addresses and device passwords are further down, with the WebSocket address and your username.

    Further down
  4. 4

    A device password is for a browser softphone you run yourself. Name the device.

    Name of the device
  5. 5

    Create makes the password, and shows it only once. Here we stop before creating it.

  6. 6

    A web app may register only from the addresses you allow here: the scheme and the host, no path.

    Web address
  7. 7

    Add allows that address.

  8. 8

    The sample dialer shows a working example.

The browser phone rings together with the desk phone and the app; the first to answer takes the call. The guide holds the API, a JsSIP block and twelve answers.

Was this not what you needed? Write to us.

Français