​Boa tarde pessoal,

Preciso configurar um asterisk integrado com o Vtiger, ja tentei com o 1.4,
1.8 e 11. Nâo tive sucesso com nenhum.
Eu segui o passo a passo do site do Vtiger e não funciona.

*Ambiente:*
Asterisk e Vtiger no mesmo servidor(Já tentei em servers separdos)

*Até onde cheguei:*
Quando clico no telefone do contato exibe a mensagem: A chamada falhou​. E
não aparece nada no Verbose do asterisk.


Discando para um numero que esteja no Vtiger o Popup não aparece

*Meus arquivos:*
*extensions.conf*

[phone]
exten => _XXXX,1,Answer
exten => _XXXX,2,Agi(agi://0.0.0.0/incoming.agi)
exten => _XXXX,n,Dial(SIP/${EXTEN},6)
exten => _XXXX,n,Playback(vmnobodyavail)
exten => _XXXX,n,Hangup()

*sip.conf*
[7001]
type=friend
host=dynamic
secret=7001
context=phone

[7002]
type=friend
host=dynamic
secret=7002
context=phone

*manager.conf*
[general]
enabled = yes
;webenabled = yes

port = 5038
bindaddr = 0.0.0.0

[admin]
secret=admin123
permit=0.0.0.0/255.255.255.0
read=system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate,message
write=system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate,message

*conf/VtigerAsteriskConnector.properties*
/*
 * Copyright (C) www.vtiger.com. All rights reserved.
 * @license Proprietary
 */

// Location where the application server will be running.
ServerIP   = 0.0.0.0
ServerPort = 8585

// Call Recordings storage path
StorageDir = /var/www/html/VtigerAsteriskConnector/storage

// Enable(true) or Disable(false) call recordings
Recording = true

// Location where the applications database files will be stored.
AsteriskAppDBPath = /var/www/html/VtigerAsteriskConnector/storage

// Asterisk Server Details
//AsteriskServerPublicIP = http://127.0.0.1/
AsteriskServerIP   = 0.0.0.0
AsteriskServerPort = 5038
AsteriskUsername   = admin
AsteriskPassword   = admin123

// Vtiger CRM URL
VtigerURL = http://0.0.0.0/vtigercrm
VtigerSecretKey =123456

//Enable(true) or Disable(false) Asterisk Events and Database Logs in
Connector
AsteriskLog = true
DatabaseLog = true


Na configuração WEB do Vtiger

Detalhes do Servidor Asterisk

*URL do Vtiger Asterisk http://0.0.0.0:8585/ <http://0.0.0.0:8585/>*
*Outbound Context vtiger*
*Outbound Trunk phone*




*Chave Secreta Vtiger 123456OBS:* Vtiger 6.5 e asterisk 1.8

Poderia me ajudar?

Obrigado e um abraço!
_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
Intercomunicador e acesso remoto via rede IP e telefones IP
Conheça todo o portfólio em www.Khomp.com
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org

Responder a