| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

Asterisk Integrador ao PABX via Ramal

Page history last edited by PBworks 12 years, 8 months ago

 

Integração do Trixbox com o PABX via Ramal

 

 

  Agrupamos os canais em /etc/asterisk/zapata.conf

 

   group=3                               ; Grupo

   context => from-internal      ; Contexto

   channel => 1-2                     ; Canais que estão ligados ao ramal do PBX

 

 

  Criamos uma rota de saída (Outbound Routes), neste exemplo 9 (discamos nove

para ligar para um ramal do PBX)

 

   Route Name: PBX

   Dial Patterns: 9|XXX          ( 9 + ramal do PBX)

   Trunk Sequence: ZAP/g3   (Grupo do zapata.conf)

 

 

 Custização no Asterisk

 

 Incluiremos as linhas abaixo no /etc/asterisk/extensions_custom.conf

 

 

 [outrt-006-PBX-custom]                              ; veja o seu extensions_additional.conf

 ; esquema p/ pegar/verificar linha livre (como um pabx tradicional)

 exten => 9,1,ChanIsAvail(Zap/g1)

 exten => 9,2,Cut(zapChannel=AVAILCHAN,,1)

 exten => 9,3,DigitTimeout(5)

 exten => 9,4,ResponseTimeout(15)

 exten => 9,5,Playtones(dial|i)

 exten => 9,102,Hangup

 exten => _XXX,1,Dial(${zapChannel}/${EXTEN}|30)

 exten => _XXX,2,Hangup

 

 

 

 

 

Comments (0)

You don't have permission to comment on this page.