ATech Machine LIBRA-02 M Informações Técnicas Página 352

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 734
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 351
This is a pretty quick and crude set of instructions for compiling and
installing Asterisk. For a much more complete set of instructions, please
see Chapter 3.
Creating XMPP accounts
Unfortunately, Asterisk is currently not able to register new accounts on an XMPP
server. You will have to create an account for each server via some other mechanism.
The method we used while testing was to use an XMPP client such as Pidgin to complete
the account registration process. After account registration is complete, the XMPP cli-
ent is no longer needed. For the rest of the examples, we will use the following two
buddies, both of which are on the server jabber.shifteight.org:
[email protected]/astvoip1
[email protected]/astvoip2
Asterisk configuration
The /etc/asterisk/jabber.conf file will need to be configured on each server. We will show
the configuration for a two-server setup here, but the configuration can easily be ex-
panded to more servers as needed. Example 14-2 shows the contents of the configura-
tion file for server 1 and Example 14-3 shows the contents of the configuration file for
server 2. For additional information on the jabber.conf options associated with distrib-
uted device states, see the configs/jabber.conf.sample file that is included in the Asterisk
source tree.
Example 14-2. jabber.conf for server1
[general]
autoregister = yes
[asterisk]
type = client
serverhost = jabber.shifteight.org
pubsub_node = pubsub.jabber.shifteight.org
username = [email protected]/astvoip1
secret = mypassword
distribute_events = yes
status = available
usetls = no
usesasl = yes
buddy = [email protected]/astvoip2
Example 14-3. jabber.conf for server2
[general]
autoregister = yes
[asterisk]
type = client
316 | Chapter 14:Device States
Vista de página 351
1 2 ... 347 348 349 350 351 352 353 354 355 356 357 ... 733 734

Comentários a estes Manuais

Sem comentários