ATech Machine LIBRA-02 M Informacje Techniczne Strona 494

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 734
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 493
This sample configuration is set up to only allow local connections to
the AMI. If you intend on making this interface available over a network,
it is strongly recommended that you only do so using TLS. The use of
TLS is discussed in more detail later in this chapter.
Once the AMI configuration is ready, enable the built-in HTTP server by putting the
following contents in /etc/asterisk/http.conf:
;
; Enable the built-in HTTP server, and only listen for connections on localhost.
;
[general]
enabled = yes
bindaddr = 127.0.0.1
AMI over TCP
There are multiple ways to connect to the AMI, but a TCP socket is the most common.
We will use telnet to demonstrate AMI connectivity. This example shows these steps:
1. Connect to the AMI over a TCP socket on port 5038.
2. Log in using the Login action.
3. Execute the Ping action.
4. Log off using the Logoff action.
Here’s how the AMI responds to those actions:
$ telnet localhost 5038
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager/1.1
Action: Login
Username: hello
Secret: world
Response: Success
Message: Authentication accepted
Action: Ping
Response: Success
Ping: Pong
Timestamp: 1282739190.454046
Action: Logoff
Response: Goodbye
Message: Thanks for all the fish.
Connection closed by foreign host.
458 | Chapter 20: Asterisk Manager Interface (AMI)
Przeglądanie stron 493
1 2 ... 489 490 491 492 493 494 495 496 497 498 499 ... 733 734

Komentarze do niniejszej Instrukcji

Brak uwag

Iei-integration MPCIE-USB3 manuels

Manuels d'utilisation et guides de l'utilisateur pour Matériel Iei-integration MPCIE-USB3.
Nous fournissons des manuels en pdf 1 Iei-integration MPCIE-USB3 à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Matériel Iei-integration

Modèles Type de document
MPCIE-3G Manuel de l'utilisateur   IEI Integration MPCIE-3G User Manual [en] , 14 pages
WAFER-CV-D25502_N26002 Manuel de l'utilisateur   IEI Integration WAFER-CV-D25502_N26002 User Manual [en] , 182 pages
IDD-936160 Manuel de l'utilisateur   IEI Integration IDD-936160 User Manual, 1 pages
IDD-936260A Manuel de l'utilisateur   IEI Integration IDD-936260A User Manual, 1 pages
IDD-9364120A Manuel de l'utilisateur   IEI Integration IDD-9364120A User Manual, 1 pages
IDDV-6304140A Manuel de l'utilisateur   IEI Integration IDDV-6304140A User Manual, 5 pages
IDD-930160-KIT v1.00 Manuel de l'utilisateur   IEI Integration IDD-930160-KIT v1.00 User Manual, 1 pages
IDD-241100 Manuel de l'utilisateur   IEI Integration IDD-241100 User Manual, 3 pages
PM-P006UPS Manuel de l'utilisateur   IEI Integration PM-P006UPS User Manual, 50 pages
IDDUPS-636260А Manuel de l'utilisateur   IEI Integration IDDUPS-636260А User Manual, 52 pages